From cf8a751fa16e30b13080bf0e7af2ff6c9df693a8 Mon Sep 17 00:00:00 2001 From: children117cl <278950112@qq.com> Date: 星期三, 14 四月 2021 11:28:05 +0800 Subject: [PATCH] banner设置跳转类型为不跳转时,清空其余跳转字段 --- 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 478604d..2f7b289 100644 --- a/src/pages/system/admin.vue +++ b/src/pages/system/admin.vue @@ -41,7 +41,7 @@ <el-table-column label="璐﹀彿" prop="account" align="center" min-width="120" /> <el-table-column label="璐﹀彿绫诲瀷" prop="account" align="center" min-width="120"> <template slot-scope="scope"> - <span v-if="scope.row.type">{{ accountTypeOptions[scope.row.type].name }}</span> + <span v-if="accountTypeOptions[scope.row.type]">{{ accountTypeOptions[scope.row.type].name }}</span> </template> </el-table-column> <el-table-column label="瑙掕壊" prop="roleName" align="center" min-width="120" /> @@ -86,7 +86,7 @@ /> <!-- 鏂板&缂栬緫 --> - <el-dialog v-el-drag-dialog :title="adminDialogData.type==='add'?'鏂板绠$悊鍛�':'缂栬緫绠$悊鍛�'" width="500px" :visible.sync="adminDialogVisible" append-to-body> + <el-dialog v-el-drag-dialog :title="adminDialogData.type==='add'?'鏂板绠$悊鍛�':'缂栬緫绠$悊鍛�'" width="500px" :visible.sync="adminDialogVisible" append-to-body :close-on-click-modal="false"> <el-form ref="adminDialog" :model="adminDialogData" label-width="80px" :rules="rules" size="small"> <el-form-item label="鍚嶇О" prop="name"> <el-input v-model="adminDialogData.name" placeholder="璇疯緭鍏ュ悕绉�" maxlength="50" /> -- Gitblit v1.8.0