From d4d2d466d8340d06f4b5ce466fece11e1577b7d3 Mon Sep 17 00:00:00 2001 From: long <515897141@qq.com> Date: 星期三, 16 六月 2021 16:51:36 +0800 Subject: [PATCH] 修复批量上传图片时,若不需上传要返回图片数组 --- src/pages/system/admin.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/system/admin.vue b/src/pages/system/admin.vue index af4f3b4..267bedd 100644 --- a/src/pages/system/admin.vue +++ b/src/pages/system/admin.vue @@ -94,10 +94,10 @@ <el-form-item label="璐﹀彿" prop="account"> <el-input v-model="adminDialogData.account" placeholder="璇疯緭鍏ュ笎鍙�" maxlength="20" :disabled="adminDialogData.type!='add'" /> </el-form-item> - <el-form-item label="瀵嗙爜" :prop="adminDialogData.type==='add'?'password':'none'"> + <el-form-item label="瀵嗙爜" :prop="adminDialogData.type==='add'||adminDialogData.password||adminDialogData.passwordSure?'password':'none'"> <el-input v-model="adminDialogData.password" type="password" placeholder="璇疯緭鍏ュ瘑鐮�" maxlength="20" /> </el-form-item> - <el-form-item label="纭瀵嗙爜" :prop="adminDialogData.type==='add'?'passwordSure':'none'"> + <el-form-item label="纭瀵嗙爜" :prop="adminDialogData.type==='add'||adminDialogData.password||adminDialogData.passwordSure?'passwordSure':'none'"> <el-input v-model="adminDialogData.passwordSure" type="password" placeholder="璇疯緭鍏ョ‘璁ゅ瘑鐮�" maxlength="20" /> </el-form-item> <!-- 璐﹀彿绫诲瀷 --> -- Gitblit v1.8.0