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%"
|
||||
:border="false"
|
||||
:options="{
|
||||
theme: 'ai-code--dark'
|
||||
theme: 'ai-code--dark',
|
||||
minimap: {
|
||||
enabled: true
|
||||
}
|
||||
}"
|
||||
:key="activeCode.value"
|
||||
:language="activeCode.value == 'vue' ? 'html' : lang.tpl"
|
||||
@ -1036,13 +1039,15 @@ function createFile() {
|
||||
|
||||
service
|
||||
.request({
|
||||
url: "/"
|
||||
url: "/admin/base/open/eps"
|
||||
})
|
||||
.then(() => {
|
||||
.then((res) => {
|
||||
if (res && !isEmpty(res)) {
|
||||
code.tips("文件创建成功");
|
||||
ElMessage.success("文件创建成功");
|
||||
clearInterval(timer);
|
||||
create();
|
||||
}
|
||||
});
|
||||
}, 3000);
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user