mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
update ant design vue version
This commit is contained in:
parent
0c0594a7ee
commit
464459faf5
5 changed files with 13 additions and 9 deletions
|
@ -12,7 +12,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@ant-design/icons-vue": "^6.1.0",
|
||||
"ant-design-vue": "^3.2.10",
|
||||
"ant-design-vue": "^3.2.11",
|
||||
"apexcharts": "^3.35.4",
|
||||
"axios": "^0.27.2",
|
||||
"dayjs": "^1.11.4",
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"version":"1.5.0","build_id":41,"total_build":111}
|
||||
{"version":"1.5.0","build_id":43,"total_build":113}
|
|
@ -4,7 +4,7 @@ import {useUserStore} from '@/pinia'
|
|||
const thisYear = new Date().getFullYear()
|
||||
|
||||
import {LockOutlined, UserOutlined} from '@ant-design/icons-vue'
|
||||
import {reactive, ref} from 'vue'
|
||||
import {reactive, ref, watch} from 'vue'
|
||||
import {useRoute, useRouter} from 'vue-router'
|
||||
import gettext from '@/gettext'
|
||||
import {Form, message} from 'ant-design-vue'
|
||||
|
@ -43,7 +43,7 @@ const rulesRef = reactive({
|
|||
]
|
||||
})
|
||||
|
||||
const {validate, validateInfos} = Form.useForm(modelRef, rulesRef)
|
||||
const {validate, validateInfos, clearValidate} = Form.useForm(modelRef, rulesRef)
|
||||
|
||||
const onSubmit = () => {
|
||||
validate().then(() => {
|
||||
|
@ -65,6 +65,10 @@ if (user.is_login) {
|
|||
router.push(next)
|
||||
}
|
||||
|
||||
watch(() => gettext.current, () => {
|
||||
clearValidate()
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"version":"1.5.0","build_id":41,"total_build":111}
|
||||
{"version":"1.5.0","build_id":43,"total_build":113}
|
|
@ -647,10 +647,10 @@ ansi-styles@^4.1.0:
|
|||
dependencies:
|
||||
color-convert "^2.0.1"
|
||||
|
||||
ant-design-vue@^3.2.10:
|
||||
version "3.2.10"
|
||||
resolved "https://registry.yarnpkg.com/ant-design-vue/-/ant-design-vue-3.2.10.tgz#938260177126cf7ab0dc476dd9e3e9d06ab17bae"
|
||||
integrity sha512-aqa0kjJzVQ74MfVw5w7rTOdJQL2JN9V/O6Ro+VQQMq/tY7q91JiomhI9TRKAK3tFdBDXJpUoBCVOsosbbxMzRw==
|
||||
ant-design-vue@^3.2.11:
|
||||
version "3.2.11"
|
||||
resolved "https://registry.yarnpkg.com/ant-design-vue/-/ant-design-vue-3.2.11.tgz#034b2a2adef82a34440c10b90a5e02bcd25b376b"
|
||||
integrity sha512-QKCAcOY5EJF0PepiVGA4X5PzUetYUvG5qALmA+2TON40pc2+brOEiVTwr3kjF9N+f7q4MpyiLPu4pIErwoajOQ==
|
||||
dependencies:
|
||||
"@ant-design/colors" "^6.0.0"
|
||||
"@ant-design/icons-vue" "^6.1.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue