diff --git a/package.json b/package.json index af9f28ed..b77573a7 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "@vuepress/plugin-docsearch": "^2.0.0-beta.37", "@vuepress/plugin-pwa": "^2.0.0-beta.37", "@vuepress/plugin-pwa-popup": "^2.0.0-beta.37", - "@webank/eslint-config-webank": "^1.2.0", + "@webank/eslint-config-webank": "^1.2.3", "chokidar": "^3.5.2", "commitizen": "^4.2.1", "cz-conventional-changelog": "^3.3.0", diff --git a/packages/create-fes-app/templates/app/pc/src/app.jsx b/packages/create-fes-app/templates/app/pc/src/app.jsx index fddc4f9e..4c95b9f9 100644 --- a/packages/create-fes-app/templates/app/pc/src/app.jsx +++ b/packages/create-fes-app/templates/app/pc/src/app.jsx @@ -1,6 +1,6 @@ import { access } from '@fesjs/fes'; -import PageLoading from '@/components/PageLoading.vue'; -import UserCenter from '@/components/UserCenter.vue'; +import PageLoading from '@/components/pageLoading.vue'; +import UserCenter from '@/components/userCenter.vue'; export const beforeRender = { loading: , diff --git a/packages/create-fes-app/templates/app/pc/src/components/PageLoading.vue b/packages/create-fes-app/templates/app/pc/src/components/pageLoading.vue similarity index 86% rename from packages/create-fes-app/templates/app/pc/src/components/PageLoading.vue rename to packages/create-fes-app/templates/app/pc/src/components/pageLoading.vue index e544021a..3d5c1cf1 100644 --- a/packages/create-fes-app/templates/app/pc/src/components/PageLoading.vue +++ b/packages/create-fes-app/templates/app/pc/src/components/pageLoading.vue @@ -8,16 +8,15 @@ import { FSpin } from '@fesjs/fes-design'; export default { components: { - FSpin + FSpin, }, setup() { - return { - }; - } + return {}; + }, }; diff --git a/packages/fes-template/src/app.js b/packages/fes-template/src/app.js index 78c1921a..a9d50b80 100644 --- a/packages/fes-template/src/app.js +++ b/packages/fes-template/src/app.js @@ -1,7 +1,7 @@ import { access as accessApi, pinia, createWatermark } from '@fesjs/fes'; import { ref, watch } from 'vue'; -import PageLoading from '@/components/PageLoading.vue'; -import UserCenter from '@/components/UserCenter.vue'; +import PageLoading from '@/components/pageLoading.vue'; +import UserCenter from '@/components/userCenter.vue'; import { useStore } from '@/store/main'; export const beforeRender = { diff --git a/packages/fes-template-vite/src/components/PageLoading.vue b/packages/fes-template/src/components/pageLoading.vue similarity index 86% rename from packages/fes-template-vite/src/components/PageLoading.vue rename to packages/fes-template/src/components/pageLoading.vue index e544021a..3d5c1cf1 100644 --- a/packages/fes-template-vite/src/components/PageLoading.vue +++ b/packages/fes-template/src/components/pageLoading.vue @@ -8,16 +8,15 @@ import { FSpin } from '@fesjs/fes-design'; export default { components: { - FSpin + FSpin, }, setup() { - return { - }; - } + return {}; + }, };