Commit ef7a6370 by 杨明

发现

1 parent 5743f564
......@@ -149,6 +149,20 @@ Component({
// tabIndex: option?.tabIndex || 0
// })
this.getActivityRecord()
const app = getApp()
app.getBaseData().then(res => {
const productData = res[0].subList
const systemData = res[1].subList
// this.getSceneData(productData)
this.setData({
[`tabList[0].name`]: res[0].name,
[`tabList[1]name`]: res[1].name,
systemData,
systemDataId: res[1].id,
productData,
productDataId: res[0].id,
})
})
},
emitUserInfo(options) {
......@@ -267,20 +281,20 @@ Component({
},
pageLifetimes: {
show() {
const app = getApp()
app.getBaseData().then(res => {
const productData = res[0].subList
const systemData = res[1].subList
// this.getSceneData(productData)
this.setData({
[`tabList[0].name`]: res[0].name,
[`tabList[1]name`]: res[1].name,
systemData,
systemDataId: res[1].id,
productData,
productDataId: res[0].id,
})
})
// const app = getApp()
// app.getBaseData().then(res => {
// const productData = res[0].subList
// const systemData = res[1].subList
// // this.getSceneData(productData)
// this.setData({
// [`tabList[0].name`]: res[0].name,
// [`tabList[1]name`]: res[1].name,
// systemData,
// systemDataId: res[1].id,
// productData,
// productDataId: res[0].id,
// })
// })
}
}
......
{
"appid": "wxc50d04ae5aa9984a",
"appid": "wx96c8f2a3e76907cb",
"projectname": "business-assistant",
"compileType": "miniprogram",
"packOptions": {
......
......@@ -120,7 +120,7 @@
}
},
"setting": {
"urlCheck": true
"urlCheck": false
},
"projectname": "store-assistant-assemble"
}
\ No newline at end of file
......@@ -110,7 +110,7 @@ const domain = {
dev: {
dj: 'https://dj.dev.glsx.com.cn',
scrm: 'https://scrm.dev.glsx.com.cn',
merchant: "https://rop-merchant.dev.glsx.com.cn",
merchant: "http://rop-merchant.dev.glsx.com.cn",
},
uat: {
dj: 'https://dj.test.glsx.com.cn',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!