Browse Source

deleteUser

y595705120 3 years ago
parent
commit
69b0d7cbee
4 changed files with 4 additions and 4 deletions
  1. 1 1
      build.config.js
  2. 1 1
      src/utils/page.js
  3. 1 1
      src/view/login/login.vue
  4. 1 1
      src/view/superAdmin/user/user.vue

+ 1 - 1
build.config.js

@@ -1,7 +1,7 @@
 'use strict'
 
 module.exports = {
-    title: '学习管理后台',
+    title: '莅临&外出后台',
     baseCdnUrl: '//cdn.staticfile.org',
     cdns: [
         /**

+ 1 - 1
src/utils/page.js

@@ -1,4 +1,4 @@
-const title = '学习管理后台'
+const title = '莅临&外出后台'
 
 export default function getPageTitle(pageTitle) {
     if (pageTitle) {

+ 1 - 1
src/view/login/login.vue

@@ -8,7 +8,7 @@
         <div class="header">
           <a href="/">
             <!-- <img src="~@/assets/logo.png" class="logo" alt="logo" /> -->
-            <span class="title">学习管理后台</span>
+            <span class="title">莅临&外出后台</span>
           </a>
         </div>
       </div>

+ 1 - 1
src/view/superAdmin/user/user.vue

@@ -178,7 +178,7 @@ export default {
       this.$refs.chooseImg.open()
     },
     async deleteUser(row) {
-      const res = await deleteUser({ id: row.ID });
+      const res = await deleteUser({ id: row.id });
       if (res.code == 200) {
         this.getTableData();
         row.visible = false;