build(deps): 升级依赖
This commit is contained in:
parent
51c744c8e2
commit
f3c86efbe5
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
. "$(dirname "$0")/_/husky.sh"
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
pnpm lint:fix
|
pnpm lint:fix && pnpm vtsc
|
||||||
|
24
package.json
24
package.json
@ -31,7 +31,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@antv/g2plot": "^2.4.0",
|
"@antv/g2plot": "^2.4.1",
|
||||||
"@better-scroll/core": "^2.4.2",
|
"@better-scroll/core": "^2.4.2",
|
||||||
"@vueuse/core": "^7.3.0",
|
"@vueuse/core": "^7.3.0",
|
||||||
"axios": "^0.24.0",
|
"axios": "^0.24.0",
|
||||||
@ -39,13 +39,13 @@
|
|||||||
"clipboard": "^2.0.8",
|
"clipboard": "^2.0.8",
|
||||||
"dayjs": "^1.10.7",
|
"dayjs": "^1.10.7",
|
||||||
"form-data": "^4.0.0",
|
"form-data": "^4.0.0",
|
||||||
"naive-ui": "^2.21.5",
|
"naive-ui": "^2.22.0",
|
||||||
"pinia": "^2.0.6",
|
"pinia": "^2.0.6",
|
||||||
"print-js": "^1.6.0",
|
"print-js": "^1.6.0",
|
||||||
"qs": "^6.10.2",
|
"qs": "^6.10.2",
|
||||||
"swiper": "^7.3.1",
|
"swiper": "^7.3.2",
|
||||||
"vditor": "^3.8.8",
|
"vditor": "^3.8.8",
|
||||||
"vue": "^3.2.25",
|
"vue": "^3.2.26",
|
||||||
"vue-router": "^4.0.12",
|
"vue-router": "^4.0.12",
|
||||||
"wangeditor": "^4.7.10",
|
"wangeditor": "^4.7.10",
|
||||||
"xgplayer": "^2.31.4"
|
"xgplayer": "^2.31.4"
|
||||||
@ -54,15 +54,15 @@
|
|||||||
"@amap/amap-jsapi-types": "^0.0.8",
|
"@amap/amap-jsapi-types": "^0.0.8",
|
||||||
"@commitlint/cli": "^15.0.0",
|
"@commitlint/cli": "^15.0.0",
|
||||||
"@commitlint/config-conventional": "^15.0.0",
|
"@commitlint/config-conventional": "^15.0.0",
|
||||||
"@iconify/json": "^1.1.441",
|
"@iconify/json": "^1.1.442",
|
||||||
"@iconify/vue": "^3.1.1",
|
"@iconify/vue": "^3.1.1",
|
||||||
"@types/bmapgl": "^0.0.4",
|
"@types/bmapgl": "^0.0.4",
|
||||||
"@types/chroma-js": "^2.1.3",
|
"@types/chroma-js": "^2.1.3",
|
||||||
"@types/qs": "^6.9.7",
|
"@types/qs": "^6.9.7",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.6.0",
|
"@typescript-eslint/eslint-plugin": "^5.7.0",
|
||||||
"@typescript-eslint/parser": "^5.6.0",
|
"@typescript-eslint/parser": "^5.7.0",
|
||||||
"@vitejs/plugin-vue": "^1.10.2",
|
"@vitejs/plugin-vue": "^2.0.1",
|
||||||
"@vue/compiler-sfc": "^3.2.25",
|
"@vue/compiler-sfc": "^3.2.26",
|
||||||
"@vue/eslint-config-prettier": "^6.0.0",
|
"@vue/eslint-config-prettier": "^6.0.0",
|
||||||
"@vue/eslint-config-typescript": "^9.1.0",
|
"@vue/eslint-config-typescript": "^9.1.0",
|
||||||
"commitizen": "^4.2.4",
|
"commitizen": "^4.2.4",
|
||||||
@ -82,15 +82,15 @@
|
|||||||
"prettier": "^2.5.1",
|
"prettier": "^2.5.1",
|
||||||
"rollup-plugin-visualizer": "^5.5.2",
|
"rollup-plugin-visualizer": "^5.5.2",
|
||||||
"sass": "^1.45.0",
|
"sass": "^1.45.0",
|
||||||
"typescript": "^4.5.3",
|
"typescript": "^4.5.4",
|
||||||
"unplugin-icons": "^0.12.23",
|
"unplugin-icons": "^0.12.23",
|
||||||
"unplugin-vue-components": "^0.17.8",
|
"unplugin-vue-components": "^0.17.9",
|
||||||
"vite": "~2.5.10",
|
"vite": "~2.5.10",
|
||||||
"vite-plugin-html": "^2.1.1",
|
"vite-plugin-html": "^2.1.1",
|
||||||
"vite-plugin-windicss": "^1.5.4",
|
"vite-plugin-windicss": "^1.5.4",
|
||||||
"vue-tsc": "^0.29.8",
|
"vue-tsc": "^0.29.8",
|
||||||
"vueuc": "^0.4.18",
|
"vueuc": "^0.4.18",
|
||||||
"windicss": "^3.2.1"
|
"windicss": "^3.3.0"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/honghuangdc/soybean-admin",
|
"homepage": "https://github.com/honghuangdc/soybean-admin",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
952
pnpm-lock.yaml
952
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
@ -18,7 +18,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</n-form-item>
|
</n-form-item>
|
||||||
<n-space :vertical="true" size="large">
|
<n-space :vertical="true" size="large">
|
||||||
<login-agreement v-model:value="agreement" />
|
<login-agreement v-model:value="agreement" class="pb-12px" />
|
||||||
<n-button type="primary" size="large" :block="true" :round="true" :loading="loading" @click="handleSubmit">
|
<n-button type="primary" size="large" :block="true" :round="true" :loading="loading" @click="handleSubmit">
|
||||||
确定
|
确定
|
||||||
</n-button>
|
</n-button>
|
||||||
|
@ -7,13 +7,7 @@
|
|||||||
<n-form-item path="pwd">
|
<n-form-item path="pwd">
|
||||||
<n-input v-model:value="model.pwd" type="password" show-password-on="click" placeholder="请输入密码" />
|
<n-input v-model:value="model.pwd" type="password" show-password-on="click" placeholder="请输入密码" />
|
||||||
</n-form-item>
|
</n-form-item>
|
||||||
<n-form-item path="imgCode">
|
<n-space :vertical="true" :size="24">
|
||||||
<n-input v-model:value="model.imgCode" placeholder="验证码,点击图片刷新" />
|
|
||||||
<div class="pl-8px">
|
|
||||||
<image-verify v-model:code="imgCode" />
|
|
||||||
</div>
|
|
||||||
</n-form-item>
|
|
||||||
<n-space :vertical="true" size="large">
|
|
||||||
<div class="flex-y-center justify-between">
|
<div class="flex-y-center justify-between">
|
||||||
<n-checkbox v-model:checked="rememberMe">记住我</n-checkbox>
|
<n-checkbox v-model:checked="rememberMe">记住我</n-checkbox>
|
||||||
<span class="text-primary cursor-pointer" @click="toCurrentLogin('reset-pwd')">忘记密码?</span>
|
<span class="text-primary cursor-pointer" @click="toCurrentLogin('reset-pwd')">忘记密码?</span>
|
||||||
@ -42,10 +36,9 @@ import { reactive, ref } from 'vue';
|
|||||||
import { NForm, NFormItem, NInput, NSpace, NCheckbox, NButton } from 'naive-ui';
|
import { NForm, NFormItem, NInput, NSpace, NCheckbox, NButton } from 'naive-ui';
|
||||||
import type { FormInst, FormRules } from 'naive-ui';
|
import type { FormInst, FormRules } from 'naive-ui';
|
||||||
import { EnumLoginModule } from '@/enum';
|
import { EnumLoginModule } from '@/enum';
|
||||||
import { ImageVerify } from '@/components';
|
|
||||||
import { useRouterPush, useLogin } from '@/composables';
|
import { useRouterPush, useLogin } from '@/composables';
|
||||||
import { useAgreement } from '@/hooks';
|
import { useAgreement } from '@/hooks';
|
||||||
import { formRules, getImgCodeRule } from '@/utils';
|
import { formRules } from '@/utils';
|
||||||
import { OtherLogin } from './components';
|
import { OtherLogin } from './components';
|
||||||
import { LoginAgreement } from '../common';
|
import { LoginAgreement } from '../common';
|
||||||
|
|
||||||
@ -56,14 +49,11 @@ const { agreement, isAgree } = useAgreement();
|
|||||||
const formRef = ref<(HTMLElement & FormInst) | null>(null);
|
const formRef = ref<(HTMLElement & FormInst) | null>(null);
|
||||||
const model = reactive({
|
const model = reactive({
|
||||||
phone: '15170283876',
|
phone: '15170283876',
|
||||||
pwd: 'a123456789',
|
pwd: 'a123456789'
|
||||||
imgCode: ''
|
|
||||||
});
|
});
|
||||||
const imgCode = ref('');
|
|
||||||
const rules: FormRules = {
|
const rules: FormRules = {
|
||||||
phone: formRules.phone,
|
phone: formRules.phone,
|
||||||
pwd: formRules.pwd,
|
pwd: formRules.pwd
|
||||||
imgCode: getImgCodeRule(imgCode)
|
|
||||||
};
|
};
|
||||||
const rememberMe = ref(false);
|
const rememberMe = ref(false);
|
||||||
|
|
||||||
|
@ -23,7 +23,8 @@ export default defineConfig(({ mode }) => {
|
|||||||
plugins,
|
plugins,
|
||||||
server: {
|
server: {
|
||||||
host: '0.0.0.0',
|
host: '0.0.0.0',
|
||||||
port: 3100
|
port: 3100,
|
||||||
|
open: true
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
brotliSize: false,
|
brotliSize: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user