소스 검색

no message

linwenxin 4 달 전
부모
커밋
853cd55983
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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>