正在显示
3 个修改的文件
包含
10 行增加
和
5 行删除
@@ -50,6 +50,7 @@ App({ | @@ -50,6 +50,7 @@ App({ | ||
50 | if (entrance_type == '1' || url == '/getopenid/get' || url.indexOf('address') > -1 || url.indexOf('/wb/wb')>-1) { | 50 | if (entrance_type == '1' || url == '/getopenid/get' || url.indexOf('address') > -1 || url.indexOf('/wb/wb')>-1) { |
51 | //劳保商城入口 | 51 | //劳保商城入口 |
52 | baseUrl = 'https://binhai.w.broing.cn/api'; | 52 | baseUrl = 'https://binhai.w.broing.cn/api'; |
53 | + // baseUrl = 'http://bhng.cn/api' | ||
53 | } else if (entrance_type == '2') { | 54 | } else if (entrance_type == '2') { |
54 | //工会商城入口 | 55 | //工会商城入口 |
55 | baseUrl = 'https://binhaigh.w.broing.cn/api'; | 56 | baseUrl = 'https://binhaigh.w.broing.cn/api'; |
@@ -45,7 +45,11 @@ Page({ | @@ -45,7 +45,11 @@ Page({ | ||
45 | }, | 45 | }, |
46 | lookMoreInfo(e){ | 46 | lookMoreInfo(e){ |
47 | let index = e.currentTarget.dataset.index; | 47 | let index = e.currentTarget.dataset.index; |
48 | - this.info[index].open = !this.info[index].open; | 48 | + console.log(this.data.info[index]); |
49 | + if( this.data.info[index] == undefined){ | ||
50 | + this.data.info[index].open=false; | ||
51 | + } | ||
52 | + this.data.info[index].open = !this.data.info[index].open; | ||
49 | this.setData({ | 53 | this.setData({ |
50 | info: this.data.info | 54 | info: this.data.info |
51 | }) | 55 | }) |
@@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
4 | "ignore": [] | 4 | "ignore": [] |
5 | }, | 5 | }, |
6 | "setting": { | 6 | "setting": { |
7 | - "urlCheck": true, | 7 | + "urlCheck": false, |
8 | "es6": true, | 8 | "es6": true, |
9 | "enhance": false, | 9 | "enhance": false, |
10 | "postcss": true, | 10 | "postcss": true, |
@@ -22,9 +22,9 @@ | @@ -22,9 +22,9 @@ | ||
22 | "uploadWithSourceMap": true, | 22 | "uploadWithSourceMap": true, |
23 | "compileHotReLoad": true, | 23 | "compileHotReLoad": true, |
24 | "lazyloadPlaceholderEnable": false, | 24 | "lazyloadPlaceholderEnable": false, |
25 | - "useMultiFrameRuntime": false, | ||
26 | - "useApiHook": false, | ||
27 | - "useApiHostProcess": false, | 25 | + "useMultiFrameRuntime": true, |
26 | + "useApiHook": true, | ||
27 | + "useApiHostProcess": true, | ||
28 | "babelSetting": { | 28 | "babelSetting": { |
29 | "ignore": [], | 29 | "ignore": [], |
30 | "disablePlugins": [], | 30 | "disablePlugins": [], |
-
请 注册 或 登录 后发表评论