Commit d9199bd8 authored by 赵啸非's avatar 赵啸非

添加检测是否首次安装

parent 5ee6d153
...@@ -68,6 +68,21 @@ ...@@ -68,6 +68,21 @@
}, },
mixins: [table], mixins: [table],
created() { created() {
//检测是否初始安装
this.$get("/setup/project/check")
.then((res) => {
if (res.code == 1) {
console.log(res)
this.$message.success("项目部署成功!");
// this.getData();
}
})
.catch((error) => {
this.$message.error(error.message);
});
}, },
methods: { methods: {
/** 导入 */ /** 导入 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment