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/roleAdd.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/system/roleAdd.vue b/src/pages/system/roleAdd.vue index 53e3816..a741300 100644 --- a/src/pages/system/roleAdd.vue +++ b/src/pages/system/roleAdd.vue @@ -1,9 +1,9 @@ <template> <div class="app-container"> <el-page-header class="mb20" @back="jumpBack" /> - <el-form ref="roleAddForm" label-position="left" :model="mData" label-width="150px" :rules="rules"> + <el-form ref="roleAddForm" label-position="left" :model="mData" label-width="150px" :rules="rules" size="small"> <el-form-item label="瑙掕壊鍚嶇О锛�" prop="name"> - <el-input v-model="mData.name" placeholder="璇疯緭鍏ュ悕绉�" class="com-edit-input" /> + <el-input v-model="mData.name" placeholder="璇疯緭鍏ュ悕绉�" maxlength="50" class="com-edit-input" /> </el-form-item> <el-form-item label="鏄惁鍚敤锛�"> <el-switch v-model="mData.isUse" :active-value="1" :inactive-value="0" /> -- Gitblit v1.8.0