接口环境设置
This commit is contained in:
11
pages.json
11
pages.json
@@ -414,5 +414,16 @@
|
||||
"custom": {
|
||||
"^rc-(.*)": "@/components/Cn-$1/Cn-$1.vue"
|
||||
}
|
||||
},
|
||||
"condition": {
|
||||
//模式配置,仅开发期间生效
|
||||
"current": 0, //当前激活的模式(list 的索引项)
|
||||
"list": [
|
||||
{
|
||||
"name": "login", //模式名称
|
||||
"path": "pages/user/login", //启动页面,必选
|
||||
"query": "" //启动参数,在页面的onLoad函数里面得到。
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user