提交 5519df15 authored 作者: 彭涛's avatar 彭涛

项目优化

上级 3cae800f
......@@ -158,6 +158,5 @@
},
"usingComponents": {
"tab-bar": "/components/custom-tab-bar/index"
},
"sitemapLocation": "sitemap.json"
}
}
\ No newline at end of file
{
"usingComponents": {},
"component": true
"component": true,
"usingComponents": {}
}
\ No newline at end of file
......@@ -6,8 +6,38 @@
"setting": {
"urlCheck": true,
"es6": true,
"enhance": false,
"postcss": true,
"minified": true
"preloadBackgroundData": false,
"minified": true,
"newFeature": false,
"coverView": true,
"nodeModules": false,
"autoAudits": false,
"showShadowRootInWxmlPanel": true,
"scopeDataCheck": false,
"uglifyFileName": false,
"checkInvalidKey": true,
"checkSiteMap": true,
"uploadWithSourceMap": true,
"compileHotReLoad": false,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useApiHostProcess": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"enableEngineNative": false,
"bundle": false,
"useIsolateContext": true,
"useCompilerModule": true,
"userConfirmedUseCompilerModuleSwitch": false,
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true
},
"compileType": "miniprogram",
"libVersion": "",
......@@ -15,19 +45,15 @@
"projectname": "gangshi",
"condition": {
"search": {
"current": -1,
"list": []
},
"conversation": {
"current": -1,
"list": []
},
"game": {
"current": -1,
"list": []
},
"miniprogram": {
"current": -1,
"list": []
}
}
......
{
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
"rules": [{
"action": "allow",
"page": "*"
}]
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -536,10 +536,11 @@ var _api = _interopRequireDefault(__webpack_require__(/*! ../../static/util/api.
if (options.scene) {
that.packageId = decodeURIComponent(options.scene);
console.log('scene', that.packageId);
} else {
that.packageId = options.id;
}
that.type = uni.getStorageSync('type');
that.packageId = options.id;
// console.log(that.packageId)
console.log('that.packageId====', that.packageId);
if (that.type == 1) {
that.userType = user.userType;
that.userId = user.enterpriseId;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论