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() - }) + // }) }) },