ahjwen@163.com 4 年之前
父节点
当前提交
631d37ad23
共有 4 个文件被更改,包括 16 次插入15 次删除
  1. 1 0
      package.json
  2. 13 13
      src/router/index.js
  3. 1 1
      src/views/login/index.vue
  4. 1 1
      src/views/recharge/index.vue

+ 1 - 0
package.json

@@ -29,6 +29,7 @@
     "jsonlint": "1.6.3",
     "jszip": "3.2.1",
     "lodash": "^4.17.21",
+    "lowdb": "^3.0.0",
     "normalize.css": "7.0.0",
     "nprogress": "^0.2.0",
     "path-to-regexp": "2.4.0",

+ 13 - 13
src/router/index.js

@@ -64,19 +64,19 @@ export const constantRoutes = [
     component: () => import('@/views/error-page/401'),
     hidden: true
   },
-  // {
-  //   path: '/dashboard',
-  //   component: Layout,
-  //   redirect: '/dashboard',
-  //   children: [
-  //     {
-  //       path: 'dashboard',
-  //       component: () => import('@/views/dashboard/index'),
-  //       name: '首页',
-  //       meta: { title: '首页', icon: 'dashboard', affix: true }
-  //     }
-  //   ]
-  // },
+  {
+    path: '/dashboard',
+    component: Layout,
+    redirect: '/dashboard',
+    children: [
+      {
+        path: 'dashboard',
+        component: () => import('@/views/dashboard/index'),
+        name: '首页',
+        meta: { title: '首页', icon: 'dashboard', affix: true }
+      }
+    ]
+  },
   {
     path: '/',
     component: Layout,

+ 1 - 1
src/views/login/index.vue

@@ -43,7 +43,7 @@
               type="text"
               tabindex="2"
               maxlength="6"
-              autocomplete="on"
+              autocomplete="off"
               :clearable="true"
             />
           </el-col>

+ 1 - 1
src/views/recharge/index.vue

@@ -44,7 +44,7 @@
             <el-input
               v-model="dataForm.username"
               type="textarea"
-              placeholder="待检测账号."
+              placeholder="请输入充值账户."
               :autosize="{ minRows: 15, maxRows: 100 }"
               @change="setAccountNum"
             />