From 2c594068712ca099a080af585621cdcb86c6d68c Mon Sep 17 00:00:00 2001 From: zhujiyan <17812234322@163.com> Date: Thu, 29 Aug 2024 11:24:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E7=AE=A1=E7=90=86-=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E7=B1=BB=E5=9E=8B=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/auth/menu/api.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/auth/menu/api.vue b/src/views/auth/menu/api.vue index a048e05..650b9b3 100644 --- a/src/views/auth/menu/api.vue +++ b/src/views/auth/menu/api.vue @@ -44,7 +44,13 @@ const tableStore = new TableStore({ url: '/user-boot/function/getButtonById', column: [ { title: '普通接口/接口名称', field: 'name' }, - { title: '接口类型', field: 'type' }, + { + title: '接口类型', + field: 'type', + formatter: row => { + return row.cellValue == 1 ? '普通借口' : '公用接口' + } + }, { title: 'URL接口路径', field: 'path' }, { title: '操作', @@ -112,4 +118,4 @@ const search = () => { item.path.indexOf(tableStore.table.params.searchValue) !== -1 ) } - \ No newline at end of file +