This commit is contained in:
神仙都没用 2024-07-13 20:22:00 +08:00
parent 27e1db40bd
commit c128d3ee7f

View File

@ -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) => {
if (res && !isEmpty(res)) {
code.tips("文件创建成功"); code.tips("文件创建成功");
ElMessage.success("文件创建成功"); ElMessage.success("文件创建成功");
clearInterval(timer); clearInterval(timer);
create(); create();
}
}); });
}, 3000); }, 3000);
}) })