From 2ed0e9da1f0fd77a3d6430a11fa8814ec706201e Mon Sep 17 00:00:00 2001 From: hyingbo <1363390067@qq.com> Date: 星期六, 16 八月 2025 10:15:07 +0800 Subject: [PATCH] 用户管理添加首页权限 --- src/views/tms/modules/toolsClassify/ToolsClassifyForm.vue | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/views/tms/modules/toolsClassify/ToolsClassifyForm.vue b/src/views/tms/modules/toolsClassify/ToolsClassifyForm.vue index d79f132..e20a71e 100644 --- a/src/views/tms/modules/toolsClassify/ToolsClassifyForm.vue +++ b/src/views/tms/modules/toolsClassify/ToolsClassifyForm.vue @@ -161,12 +161,16 @@ this.leafFlagShow = false if(record.leafFlag == "1"){ this.paraTypeFlagShow = true + }else{ + this.validatorRules.paraTypeFlag[0].required = false + this.paraTypeFlagShow = false } }, submitForm () { const that = this; // 瑙﹀彂琛ㄥ崟楠岃瘉 this.$refs.form.validate(valid => { + console.log("111111",valid) if (valid) { that.confirmLoading = true; let httpurl = ''; -- Gitblit v1.9.3