From b987dc4e9677963b6352a790cf50e9c98318199f Mon Sep 17 00:00:00 2001 From: zhoulingpo Date: Fri, 5 May 2023 11:36:53 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=A2=9E=E5=8A=A0=E3=80=91=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=AD=97=E5=85=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/System/dataDictionary.vue | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/src/views/System/dataDictionary.vue b/src/views/System/dataDictionary.vue index 170786b..3e4868a 100644 --- a/src/views/System/dataDictionary.vue +++ b/src/views/System/dataDictionary.vue @@ -123,16 +123,7 @@ export default { }, // 获取所有字典 sysUserList () { - this.$api.user.sysUserList(this.q).then(({ data }) => { - this.tableData = data.records - this.total = data.total - this.q.pageNo = data.current - this.q.pageSize = data.size - if (!data.records.length && this.q.pageNo !== 1) { - this.q.pageNo = 1 - this.sysUserList() - } - }) + }, // 重置 reset () { @@ -248,10 +239,10 @@ export default { cancelButtonText: '取消', type: 'warning' }).then(() => { - this.$api.user.sysUserDelete({ ids }).then(_ => { + // this.$api.user.sysUserDelete({ ids }).then(_ => { this.$message.success('操作成功') this.sysUserList() - }) + // }) }) },