@@ -169,7 +169,7 @@ Page({
var success = function (val) {
let cbox = [];
for(let i in val.data){
- if(i != 'product') cbox.push(i);
+ if(i != 'product' && val.data[i]) cbox.push(i);
}
console.log('cbox',cbox)
that.setData({
@@ -19,7 +19,7 @@
"disablePlugins": [],
"outputPath": ""
},
- "useCompilerModule": true,
+ "useCompilerModule": false,
"userConfirmedUseCompilerModuleSwitch": false,
"compileHotReLoad": false,
"useIsolateContext": true