guhongwei 2 yıl önce
ebeveyn
işleme
94846d1654
2 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 1 1
      project.private.config.json
  2. 3 3
      utils/dict.js

+ 1 - 1
project.private.config.json

@@ -1,7 +1,7 @@
 {
 {
     "projectname": "%E7%BE%BD%E6%AF%9B%E7%90%83%E7%BA%BF%E4%B8%8A%E6%AF%94%E8%B5%9B-2",
     "projectname": "%E7%BE%BD%E6%AF%9B%E7%90%83%E7%BA%BF%E4%B8%8A%E6%AF%94%E8%B5%9B-2",
     "setting": {
     "setting": {
-        "compileHotReLoad": true
+        "compileHotReLoad": false
     },
     },
     "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
     "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
 }
 }

+ 3 - 3
utils/dict.js

@@ -4,13 +4,13 @@ export const system = [
     { title: '资讯', normal: '/image/tabs/news.png', active: '/image/tabs/news_1.png', route: 'pages/news/index', type: '0' },
     { title: '资讯', normal: '/image/tabs/news.png', active: '/image/tabs/news_1.png', route: 'pages/news/index', type: '0' },
     { title: '话题', normal: '/image/tabs/topic.png', active: '/image/tabs/topic_1.png', route: 'pages/topic/index', type: '0' },
     { title: '话题', normal: '/image/tabs/topic.png', active: '/image/tabs/topic_1.png', route: 'pages/topic/index', type: '0' },
     { title: '我的', normal: '/image/tabs/my.png', active: '/image/tabs/my_1.png', route: 'pages/my/index', type: '0' },
     { title: '我的', normal: '/image/tabs/my.png', active: '/image/tabs/my_1.png', route: 'pages/my/index', type: '0' },
-]
+];
 // 性别
 // 性别
 export const gender = [
 export const gender = [
     { label: '男', value: '0' },
     { label: '男', value: '0' },
     { label: '女', value: '1' },
     { label: '女', value: '1' },
     { label: '未知', value: '2' },
     { label: '未知', value: '2' },
-]
+];
 // 我的页面,功能按钮
 // 我的页面,功能按钮
 // -1:管理员,0:普通用户,1:裁判用户
 // -1:管理员,0:普通用户,1:裁判用户
 export const myBtn = [
 export const myBtn = [
@@ -96,4 +96,4 @@ export const myBtn = [
             },
             },
         ]
         ]
     }
     }
-]
+];