perf: 选项显示图标

This commit is contained in:
xiaojunnuo
2024-11-30 01:57:09 +08:00
parent 7b55337c5e
commit aedc462135
54 changed files with 298 additions and 52 deletions
@@ -142,7 +142,7 @@ export default defineComponent({
},
{
validator: async (rule: any, value: any) => {
if (value !== formState.password) {
if (value && value !== formState.password) {
throw new Error("两次输入密码不一致");
}
return true;