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 +