mo 4 vuotta sitten
vanhempi
commit
377d998e69
3 muutettua tiedostoa jossa 3 lisäystä ja 32 poistoa
  1. 1 0
      package.json
  2. 0 30
      src/router/index.js
  3. 2 2
      vue.config.js

+ 1 - 0
package.json

@@ -15,6 +15,7 @@
   },
   "dependencies": {
     "@babel/plugin-proposal-optional-chaining": "^7.11.0",
+    "JSONPath": "^0.11.2",
     "axios": "0.18.1",
     "browserslist": "^4.13.0",
     "caniuse-lite": "^1.0.30001109",

+ 0 - 30
src/router/index.js

@@ -31,36 +31,6 @@ import Layout from '@/layout'
  * all roles can be accessed
  */
 export const constantRoutes = [
-  // {
-  //   path: '/main',
-  //   component: Layout,
-  //   hidden: false,
-  //   children: [
-  //     {
-  //       name: '首页',
-  //       path: 'main',
-  //       component: () => import('@/views/main/index'),
-  //       hidden: false,
-  //     }
-  //   ]
-  // },
-  // {
-  //   path: '/timedtask', // 定时任务列表
-  //   component: Layout,
-  //   // component: () => import('@/views/timedTask/index'),
-  //   hidden: false,
-  //   children: [
-  //     {
-  //       name: '定时任务',
-  //       path: 'timedtask',
-  //       component: () => import('@/views/timedTask/index'),
-  //       hidden: true,
-  //       meta: {
-  //         title: '定时任务'
-  //       }
-  //     }
-  //   ]
-  // },
   {
     path: '/setSilder', // 侧边栏
     component: Layout,

+ 2 - 2
vue.config.js

@@ -20,8 +20,8 @@ const name = defaultSettings.title || '管乐迷后台管理系统' // page titl
 // let target = 'http://192.168.3.139:8000' // 箭河
 // let target = 'http://192.168.3.148:8000' //邹璇
 // let target = 'http://192.168.3.57:8000' //勇哥
-// let target = 'http://dev.dayaedu.com' // 开发环境
-let target = 'https://test.dayaedu.com' //测试环境
+let target = 'http://dev.dayaedu.com' // 开发环境
+// let target = 'https://test.dayaedu.com' //测试环境
 // let target = 'http://192.168.3.134' // 乔
 // All configuration item explanations can be find in https://cli.vuejs.org/config/
 module.exports = {