Commit f2dff06f by chenwq

去掉console

1 parent 13c3d955
{ {
"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",
"projectname": "ai-card",
"setting": {
"compileHotReLoad": true,
"urlCheck": false,
"preloadBackgroundData": false
},
"condition": { "condition": {
"miniprogram": { "miniprogram": {
"list": [ "list": [
...@@ -41,28 +35,12 @@ ...@@ -41,28 +35,12 @@
}, },
{ {
"name": "", "name": "",
"pathName": "pages/tab/introduction/introduction", "pathName": "pages/addTransform/addTransform/addTransform",
"query": "", "query": "",
"launchMode": "default", "launchMode": "default",
"scene": null "scene": null
},
{
"name": "增值转化",
"pathName": "pages/addTransform/index/index",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "增值转化详情",
"pathName": "pages/addTransform/detail/detail",
"query": "proName=数字无忧卡权益&attrName=digitRight",
"launchMode": "default",
"scene": null
} }
] ]
} }
},
"libVersion": "2.25.4"
} }
} }
\ No newline at end of file \ No newline at end of file
...@@ -106,7 +106,6 @@ class Router { ...@@ -106,7 +106,6 @@ class Router {
return pages[pages.length - size] return pages[pages.length - size]
} }
checkRouter(route, events) { checkRouter(route, events) {
console.log(route)
this[_query] = events || {} this[_query] = events || {}
const [_parent, _name, last_name] = route.split('.') const [_parent, _name, last_name] = route.split('.')
let name = route let name = route
...@@ -126,7 +125,6 @@ class Router { ...@@ -126,7 +125,6 @@ class Router {
name = _parent name = _parent
parent = parent parent = parent
} }
console.log( this[_routerList])
const routerMapItem = this[_routerList].find(item => { const routerMapItem = this[_routerList].find(item => {
if (last_name) { if (last_name) {
return item.parent === parent && item.name === last_name && item.subPages === name return item.parent === parent && item.name === last_name && item.subPages === name
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!