From dc2b637e3ead569adee4cf7a48b0bb15f8c7aa43 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期五, 01 三月 2024 20:46:19 +0800 Subject: [PATCH] 修改类似的代码 --- ruoyi-ui/src/views/secret/secretInfo.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/views/secret/secretInfo.vue b/ruoyi-ui/src/views/secret/secretInfo.vue index 44af156..4af8f93 100644 --- a/ruoyi-ui/src/views/secret/secretInfo.vue +++ b/ruoyi-ui/src/views/secret/secretInfo.vue @@ -336,7 +336,7 @@ this.formData.isFace = '鏄�' else this.formData.isFace = '鍚�' - if(this.formData.isPrivate==1) + if(this.formData.isPrivate==0) this.formData.isPrivate = '鍏湁' else this.formData.isPrivate = '绉佹湁' @@ -399,9 +399,9 @@ else this.formData.isFace = 0 if(this.formData.isPrivate== '鍏湁') - this.formData.isPrivate =1 + this.formData.isPrivate =0 else - this.formData.isPrivate = 0 + this.formData.isPrivate = 1 this.$refs['elForm'].validate(valid => { @@ -417,7 +417,7 @@ this.formData.isFace = '鏄�' else this.formData.isFace = '鍚�' - if(this.formData.isPrivate==1) + if(this.formData.isPrivate==0) this.formData.isPrivate = '鍏湁' else this.formData.isPrivate = '绉佹湁' @@ -433,7 +433,7 @@ this.formData.isFace = '鏄�' else this.formData.isFace = '鍚�' - if(this.formData.isPrivate==1) + if(this.formData.isPrivate==0) this.formData.isPrivate = '鍏湁' else this.formData.isPrivate = '绉佹湁' -- Gitblit v1.9.1