diff --git a/docs/demo/src/WTA/wwwroot/app.js b/docs/demo/src/WTA/wwwroot/app.js index 937bad15..9f35eb2c 100644 --- a/docs/demo/src/WTA/wwwroot/app.js +++ b/docs/demo/src/WTA/wwwroot/app.js @@ -2,7 +2,7 @@ import html from "html"; import { ElConfigProvider } from "element-plus"; import zh from "./lib/element-plus/locale/zh-cn.min.mjs"; import en from "./lib/element-plus/locale/en.min.mjs"; -import { Suspense, reactive } from "vue"; +import { Suspense, reactive, onMounted } from "vue"; export default { components: { ElConfigProvider, Suspense }, @@ -19,6 +19,7 @@ export default { ["en", en], ]) ); + onMounted(() => document.querySelector("#loading.loading").classList.remove("loading")); return { localeMap, }; diff --git a/docs/demo/src/WTA/wwwroot/assets/icons/loading.svg b/docs/demo/src/WTA/wwwroot/assets/icons/loading.svg new file mode 100644 index 00000000..ad6abaf3 --- /dev/null +++ b/docs/demo/src/WTA/wwwroot/assets/icons/loading.svg @@ -0,0 +1 @@ + diff --git a/docs/demo/src/WTA/wwwroot/index.html b/docs/demo/src/WTA/wwwroot/index.html index 0627c5db..e487ebc9 100644 --- a/docs/demo/src/WTA/wwwroot/index.html +++ b/docs/demo/src/WTA/wwwroot/index.html @@ -5,12 +5,37 @@ +
+ - \ No newline at end of file +