From 527e08d7c0cc42031495349970fd356df1635375 Mon Sep 17 00:00:00 2001 From: wyy <3234929097@qq.com> Date: Mon, 19 Jun 2023 11:16:42 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=A4=B4=E5=83=8F=E7=A9=BA?= =?UTF-8?q?=E5=8D=A0=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/crud/user/user.js | 3 ++- src/views/modules/user/user.vue | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/crud/user/user.js b/src/crud/user/user.js index 0005481..29049e3 100644 --- a/src/crud/user/user.js +++ b/src/crud/user/user.js @@ -28,7 +28,8 @@ export const tableOption = { prop: 'pic', type: 'upload', imgWidth: 150, - listType: 'picture-img' + listType: 'picture-img', + slot: true }, { label: '状态', prop: 'status', diff --git a/src/views/modules/user/user.vue b/src/views/modules/user/user.vue index 749b79b..af05847 100644 --- a/src/views/modules/user/user.vue +++ b/src/views/modules/user/user.vue @@ -15,6 +15,14 @@ + +