chore: 更改文件名

This commit is contained in:
winixt 2022-06-23 19:48:00 +08:00
parent 18fe100084
commit 74315c408a
11 changed files with 37 additions and 38 deletions

View File

@ -42,7 +42,7 @@
"@vuepress/plugin-docsearch": "^2.0.0-beta.37", "@vuepress/plugin-docsearch": "^2.0.0-beta.37",
"@vuepress/plugin-pwa": "^2.0.0-beta.37", "@vuepress/plugin-pwa": "^2.0.0-beta.37",
"@vuepress/plugin-pwa-popup": "^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", "chokidar": "^3.5.2",
"commitizen": "^4.2.1", "commitizen": "^4.2.1",
"cz-conventional-changelog": "^3.3.0", "cz-conventional-changelog": "^3.3.0",

View File

@ -1,6 +1,6 @@
import { access } from '@fesjs/fes'; import { access } from '@fesjs/fes';
import PageLoading from '@/components/PageLoading.vue'; import PageLoading from '@/components/pageLoading.vue';
import UserCenter from '@/components/UserCenter.vue'; import UserCenter from '@/components/userCenter.vue';
export const beforeRender = { export const beforeRender = {
loading: <PageLoading />, loading: <PageLoading />,

View File

@ -8,16 +8,15 @@ import { FSpin } from '@fesjs/fes-design';
export default { export default {
components: { components: {
FSpin FSpin,
}, },
setup() { setup() {
return { return {};
}; },
}
}; };
</script> </script>
<style> <style>
.page-loading{ .page-loading {
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="right">{{initialState.userName}}</div> <div class="right">{{ initialState.userName }}</div>
</template> </template>
<script> <script>
import { useModel } from '@fesjs/fes'; import { useModel } from '@fesjs/fes';
@ -8,9 +8,9 @@ export default {
setup() { setup() {
const initialState = useModel('@@initialState'); const initialState = useModel('@@initialState');
return { return {
initialState initialState,
}; };
} },
}; };
</script> </script>
<style scope> <style scope>

View File

@ -1,6 +1,6 @@
import { access as accessApi, pinia } from '@fesjs/fes'; import { access as accessApi, pinia } from '@fesjs/fes';
import PageLoading from '@/components/PageLoading.vue'; import PageLoading from '@/components/pageLoading.vue';
import UserCenter from '@/components/UserCenter.vue'; import UserCenter from '@/components/userCenter.vue';
import { useStore } from '@/store/main'; import { useStore } from '@/store/main';
export const beforeRender = { export const beforeRender = {

View File

@ -8,16 +8,15 @@ import { FSpin } from '@fesjs/fes-design';
export default { export default {
components: { components: {
FSpin FSpin,
}, },
setup() { setup() {
return { return {};
}; },
}
}; };
</script> </script>
<style> <style>
.page-loading{ .page-loading {
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;

View File

@ -15,6 +15,6 @@ export default {
</script> </script>
<style lang="less"> <style lang="less">
.user-center { .user-center {
text-align: center; text-align: right;
} }
</style> </style>

View File

@ -1,7 +1,7 @@
import { access as accessApi, pinia, createWatermark } from '@fesjs/fes'; import { access as accessApi, pinia, createWatermark } from '@fesjs/fes';
import { ref, watch } from 'vue'; import { ref, watch } from 'vue';
import PageLoading from '@/components/PageLoading.vue'; import PageLoading from '@/components/pageLoading.vue';
import UserCenter from '@/components/UserCenter.vue'; import UserCenter from '@/components/userCenter.vue';
import { useStore } from '@/store/main'; import { useStore } from '@/store/main';
export const beforeRender = { export const beforeRender = {

View File

@ -8,16 +8,15 @@ import { FSpin } from '@fesjs/fes-design';
export default { export default {
components: { components: {
FSpin FSpin,
}, },
setup() { setup() {
return { return {};
}; },
}
}; };
</script> </script>
<style> <style>
.page-loading{ .page-loading {
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="user-center">{{initialState.userName}}</div> <div class="user-center">{{ initialState.userName }}</div>
</template> </template>
<script> <script>
import { useModel } from '@fesjs/fes'; import { useModel } from '@fesjs/fes';
@ -8,9 +8,9 @@ export default {
setup() { setup() {
const initialState = useModel('@@initialState'); const initialState = useModel('@@initialState');
return { return {
initialState initialState,
}; };
} },
}; };
</script> </script>
<style lang="less"> <style lang="less">

View File

@ -2809,10 +2809,10 @@
dependencies: dependencies:
vue-demi "*" vue-demi "*"
"@webank/eslint-config-webank@^1.2.0": "@webank/eslint-config-webank@^1.2.3":
version "1.2.0" version "1.2.3"
resolved "https://registry.npmmirror.com/@webank/eslint-config-webank/-/eslint-config-webank-1.2.0.tgz#7a466de0cfb2a619f9c85275d279a085ff76f65c" resolved "https://registry.npmmirror.com/@webank/eslint-config-webank/-/eslint-config-webank-1.2.3.tgz#1a14f771a3cb7a2936920edcb7a56b373d66e415"
integrity sha512-aO6XLEvwS5W31lOb56IR8rr3fsqiyVuexo0jfD4DENzJgTrPIfAF6eIQDYnw3BV1JWJsnzYd72bFfr3o4jNcEQ== integrity sha512-Q0K+1xp2AOeigFCvnGTzcfgdmF5gzQPSnrd0Al/T/OQu+k5WDexsyxXDBHw40iN88OAsdS6dReve9yqsrqw8qA==
dependencies: dependencies:
"@babel/core" "^7.16.0" "@babel/core" "^7.16.0"
"@babel/eslint-parser" "^7.16.3" "@babel/eslint-parser" "^7.16.3"
@ -2826,7 +2826,7 @@
eslint-plugin-import "2.25.3" eslint-plugin-import "2.25.3"
eslint-plugin-node "^11.1.0" eslint-plugin-node "^11.1.0"
eslint-plugin-prettier "^4.0.0" eslint-plugin-prettier "^4.0.0"
eslint-plugin-vue "^8.1.1" eslint-plugin-vue "^8.6.0"
prettier "^2.5.0" prettier "^2.5.0"
vue-eslint-parser "^8.0.1" vue-eslint-parser "^8.0.1"
@ -5168,13 +5168,15 @@ eslint-plugin-prettier@^4.0.0:
dependencies: dependencies:
prettier-linter-helpers "^1.0.0" prettier-linter-helpers "^1.0.0"
eslint-plugin-vue@^8.1.1: eslint-plugin-vue@^8.6.0:
version "8.5.0" version "8.7.1"
resolved "https://registry.npmmirror.com/eslint-plugin-vue/-/eslint-plugin-vue-8.5.0.tgz#65832bba43ca713fa5da16bdfcf55d0095677f6f" resolved "https://registry.npmmirror.com/eslint-plugin-vue/-/eslint-plugin-vue-8.7.1.tgz#f13c53547a0c9d64588a675cc5ecc6ccaf63703f"
integrity sha512-i1uHCTAKOoEj12RDvdtONWrGzjFm/djkzqfhmQ0d6M/W8KM81mhswd/z+iTZ0jCpdUedW3YRgcVfQ37/J4zoYQ== integrity sha512-28sbtm4l4cOzoO1LtzQPxfxhQABararUb1JtqusQqObJpWX2e/gmVyeYVfepizPFne0Q5cILkYGiBoV36L12Wg==
dependencies: dependencies:
eslint-utils "^3.0.0" eslint-utils "^3.0.0"
natural-compare "^1.4.0" natural-compare "^1.4.0"
nth-check "^2.0.1"
postcss-selector-parser "^6.0.9"
semver "^7.3.5" semver "^7.3.5"
vue-eslint-parser "^8.0.1" vue-eslint-parser "^8.0.1"