Browse Source

分包路径去掉/,main。js全局引入uview-plus注释

ming 7 months ago
parent
commit
ad6e182216
2 changed files with 7 additions and 7 deletions
  1. 2 2
      src/main.js
  2. 5 5
      src/pages.json

+ 2 - 2
src/main.js

@@ -8,7 +8,7 @@ import "./permission"; // permission
 // import JsonExcel from "vue-json-excel";
 
 // 引入UI组件
-import uviewPlus from "@/uni_modules/uview-plus";
+// import uviewPlus from "@/uni_modules/uview-plus";
 // import oaCalendar from "@/components/oa-calendar/uni-calendar";
 // import oaTabbar from "@/components/oa-tabbar/index";
 // import oaTimeLine from "@/components/oa-timeLine/index"
@@ -47,7 +47,7 @@ export function createApp() {
   app.config.globalProperties.$store = store;
 
   app
-    .use(uviewPlus)
+    // .use(uviewPlus)
     .use(store)
     .use(plugins);
 

+ 5 - 5
src/pages.json

@@ -261,7 +261,7 @@
         },
         {
             "name": "智慧安防",
-            "root": "pages/business/zhaf/",
+            "root": "pages/business/zhaf",
             "pages": [
                 {
                     "path": "xunJian/xunJian",
@@ -382,7 +382,7 @@
         },
         {
             "name": "闵行消防",
-            "root": "pages/business/mhxf/",
+            "root": "pages/business/mhxf",
             "pages": [
                 {
                     "path": "informationSelect/index",
@@ -444,7 +444,7 @@
         },
         {
             "name": "智慧消防",
-            "root": "pages/business/zhxf/",
+            "root": "pages/business/zhxf",
             "pages": [
                 {
                     "path": "messagePush/index",
@@ -500,7 +500,7 @@
         },
         {
             "name": "消防物联网",
-            "root": "pages/business/fireIot/",
+            "root": "pages/business/fireIot",
             "pages": [
                 {
                     "path": "deviceManage/index",
@@ -625,7 +625,7 @@
         },
         {
             "name": "业务公共模块",
-            "root": "pages/business/common/",
+            "root": "pages/business/common",
             "pages": [
                 {
                     "path": "fastMail/index",