mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 14:10:27 +08:00
优化
This commit is contained in:
parent
27e1db40bd
commit
c128d3ee7f
@ -235,7 +235,10 @@
|
|||||||
height="100%"
|
height="100%"
|
||||||
:border="false"
|
:border="false"
|
||||||
:options="{
|
:options="{
|
||||||
theme: 'ai-code--dark'
|
theme: 'ai-code--dark',
|
||||||
|
minimap: {
|
||||||
|
enabled: true
|
||||||
|
}
|
||||||
}"
|
}"
|
||||||
:key="activeCode.value"
|
:key="activeCode.value"
|
||||||
:language="activeCode.value == 'vue' ? 'html' : lang.tpl"
|
:language="activeCode.value == 'vue' ? 'html' : lang.tpl"
|
||||||
@ -1036,13 +1039,15 @@ function createFile() {
|
|||||||
|
|
||||||
service
|
service
|
||||||
.request({
|
.request({
|
||||||
url: "/"
|
url: "/admin/base/open/eps"
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then((res) => {
|
||||||
code.tips("文件创建成功");
|
if (res && !isEmpty(res)) {
|
||||||
ElMessage.success("文件创建成功");
|
code.tips("文件创建成功");
|
||||||
clearInterval(timer);
|
ElMessage.success("文件创建成功");
|
||||||
create();
|
clearInterval(timer);
|
||||||
|
create();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}, 3000);
|
}, 3000);
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user