Commit 48a82a6a by 李伟康

commit 提交

1 parent 63a4e10e
...@@ -150,7 +150,6 @@ const getSoureData = async (channelType = 1, shopMerchantId) => { ...@@ -150,7 +150,6 @@ const getSoureData = async (channelType = 1, shopMerchantId) => {
} }
data.moduleList = await imgTransformBase64(moduleList, ['thumbnail', 'receptionSourceDetailList', 'screenList']) data.moduleList = await imgTransformBase64(moduleList, ['thumbnail', 'receptionSourceDetailList', 'screenList'])
data.toolList = await imgTransformBase64(toolList, ['shortTitleUrl']) data.toolList = await imgTransformBase64(toolList, ['shortTitleUrl'])
uni.setStorageSync(storageName, { uni.setStorageSync(storageName, {
moduleList, toolList moduleList, toolList
}) })
......
...@@ -190,7 +190,7 @@ export default { ...@@ -190,7 +190,7 @@ export default {
handler (newval) { handler (newval) {
if (this.channelType == 1) { if (this.channelType == 1) {
let { carModelId } = this.customerInfo let { carModelId } = this.customerInfo
const isAito = this.aitoCarModelIds.findIndex(e => e == carModelId) const isAito = this.aitoCarModelIds?.findIndex(e => e == carModelId)
if (isAito == -1) { if (isAito == -1) {
this.pageToolList = this.toolList.filter(e => !e.isAito) this.pageToolList = this.toolList.filter(e => !e.isAito)
} else this.pageToolList = this.toolList } else this.pageToolList = this.toolList
......
...@@ -300,7 +300,7 @@ export default { ...@@ -300,7 +300,7 @@ export default {
/**素材内容 */ /**素材内容 */
setViewInfo (data) { setViewInfo (data) {
let { moduleList, toolList, aitoCarModelIds } = data let { moduleList, toolList, aitoCarModelIds } = data
if (this.channelType == 1) this.aitoCarModelIds = aitoCarModelIds if (this.channelType == 1) this.aitoCarModelIds = aitoCarModelIds || []
this.moduleList = moduleList this.moduleList = moduleList
this.toolList = toolList this.toolList = toolList
this.$store.state.user = { this.$store.state.user = {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!