mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 15:48:05 +08:00
chore: 更新依赖
This commit is contained in:
+3
-3
@@ -51,7 +51,7 @@ const loginRules = ref<FormRules>({
|
||||
],
|
||||
})
|
||||
function handleLogin() {
|
||||
loginFormRef.value && loginFormRef.value.validate((valid) => {
|
||||
loginFormRef.value?.validate((valid) => {
|
||||
if (valid) {
|
||||
loading.value = true
|
||||
userStore.login(loginForm.value).then(() => {
|
||||
@@ -108,7 +108,7 @@ function handleRegister() {
|
||||
message: '注册模块仅提供界面演示,无实际功能,需开发者自行扩展',
|
||||
type: 'warning',
|
||||
})
|
||||
registerFormRef.value && registerFormRef.value.validate((valid) => {
|
||||
registerFormRef.value?.validate((valid) => {
|
||||
if (valid) {
|
||||
// 这里编写业务代码
|
||||
}
|
||||
@@ -139,7 +139,7 @@ function handleReset() {
|
||||
message: '重置密码仅提供界面演示,无实际功能,需开发者自行扩展',
|
||||
type: 'info',
|
||||
})
|
||||
resetFormRef.value && resetFormRef.value.validate((valid) => {
|
||||
resetFormRef.value?.validate((valid) => {
|
||||
if (valid) {
|
||||
// 这里编写业务代码
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user