Commit ef7a6370 by 杨明

发现

1 parent 5743f564
...@@ -149,6 +149,20 @@ Component({ ...@@ -149,6 +149,20 @@ Component({
// tabIndex: option?.tabIndex || 0 // tabIndex: option?.tabIndex || 0
// }) // })
this.getActivityRecord() 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) { emitUserInfo(options) {
...@@ -267,20 +281,20 @@ Component({ ...@@ -267,20 +281,20 @@ Component({
}, },
pageLifetimes: { pageLifetimes: {
show() { show() {
const app = getApp() // const app = getApp()
app.getBaseData().then(res => { // app.getBaseData().then(res => {
const productData = res[0].subList // const productData = res[0].subList
const systemData = res[1].subList // const systemData = res[1].subList
// this.getSceneData(productData) // // this.getSceneData(productData)
this.setData({ // this.setData({
[`tabList[0].name`]: res[0].name, // [`tabList[0].name`]: res[0].name,
[`tabList[1]name`]: res[1].name, // [`tabList[1]name`]: res[1].name,
systemData, // systemData,
systemDataId: res[1].id, // systemDataId: res[1].id,
productData, // productData,
productDataId: res[0].id, // productDataId: res[0].id,
}) // })
}) // })
} }
} }
......
{ {
"appid": "wxc50d04ae5aa9984a", "appid": "wx96c8f2a3e76907cb",
"projectname": "business-assistant", "projectname": "business-assistant",
"compileType": "miniprogram", "compileType": "miniprogram",
"packOptions": { "packOptions": {
......
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
} }
}, },
"setting": { "setting": {
"urlCheck": true "urlCheck": false
}, },
"projectname": "store-assistant-assemble" "projectname": "store-assistant-assemble"
} }
\ No newline at end of file \ No newline at end of file
...@@ -110,7 +110,7 @@ const domain = { ...@@ -110,7 +110,7 @@ const domain = {
dev: { dev: {
dj: 'https://dj.dev.glsx.com.cn', dj: 'https://dj.dev.glsx.com.cn',
scrm: 'https://scrm.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: { uat: {
dj: 'https://dj.test.glsx.com.cn', 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!