Browse Source

fix:修复bug

lsw 8 months ago
parent
commit
2d279356c0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      admin-ui/src/views/work/user/index.vue

+ 1 - 1
admin-ui/src/views/work/user/index.vue

@@ -100,7 +100,7 @@ export default {
         let text = row.state === 0 ? '启用' : '禁用';
         this.$confirm('确认要' + text + '该用户吗?', '警告', { type: 'warning' })
           .then(() => {
-            this.post({ url: '/work/user/edit', data: { id: row.id, state: row.state } })
+            this.post({ url: '/work/user/enable', data: { id: row.id, state: row.state } })
               .then((response) => {
                 this.$modal.msgSuccess(text + '成功');
               })