Commit 0a80a75f by 王志慧

Merge branch 'SAAS+V4.42' of http://192.168.3.233:8090/saas_plus/dj-car-boutique…

…-work-wechat into SAAS+V4.42
2 parents 019ab5a2 47004542
...@@ -7,7 +7,8 @@ export default { ...@@ -7,7 +7,8 @@ export default {
data, data,
[], [],
"/router/sparring/1.0.0", "/router/sparring/1.0.0",
"AI" "AI",
false
); );
}, },
//获取防守建议 //获取防守建议
......
...@@ -119,9 +119,15 @@ Page({ ...@@ -119,9 +119,15 @@ Page({
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
async onLoad(options) { async onLoad(options) {
const {roleName} = options; const {roleName,stage} = options;
if(roleName) { if(roleName) {
this.setData({show:true}) const {linkChainList} = this.data;
const findChain = linkChainList.find((link) => link.name == stage);
this.setData({
stepName: findChain.name,
step: findChain.type,
show:true
})
} }
const { const {
aiPhone aiPhone
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!