Browse Source

no message

linwenxin 4 tháng trước cách đây
mục cha
commit
853cd55983
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      src/views/setting/account/index.vue

+ 3 - 3
src/views/setting/account/index.vue

@@ -170,7 +170,7 @@
                 <el-input v-model="addForm.linkPhone" autocomplete="off" placeholder="请输入手机号"></el-input>
               </el-form-item>
             </el-col>
-            <!-- <el-col :md="6">
+            <el-col :md="6" v-if="!addForm.adminUserId">
               <el-form-item label="密码" prop="newPassword">
                 <el-input
                   v-model="addForm.newPassword"
@@ -184,7 +184,7 @@
                 </span>
               </el-form-item>
             </el-col>
-            <el-col :md="6">
+            <el-col :md="6" v-if="!addForm.adminUserId">
               <el-form-item label="确认密码" prop="confirmPassword">
                 <el-input
                   v-model="addForm.confirmPassword"
@@ -197,7 +197,7 @@
                   <svg-icon :icon-class="passwordType2 === 'password' ? 'eye' : 'eye-open'" />
                 </span>
               </el-form-item>
-            </el-col> -->
+            </el-col>
             <el-col :md="6">
               <el-form-item label="是否公众号通知" prop="pubNotice" label-width="120px">
                 <el-switch v-model="addForm.pubNotice" active-color="#13ce66" inactive-color="#ff4949"> </el-switch>