Commit 47566ef2 by zhangquan

修复首次进入门店车主搜索为空的问题

1 parent c6f3f3d1
......@@ -44,7 +44,6 @@ export default {
})
})
})
console.log(list)
state.searchList = list
},
},
......
......@@ -15,7 +15,7 @@
<div>
<el-button type="primary" size="small" @click="handleEdit">频道设置</el-button>
<el-button type="primary" size="small" @click="handleAdd">编辑频道</el-button>
<el-button v-if="activeName!=5" type="primary" plain size="small" @click="handleAddContent()">新增内容</el-button>
<el-button v-if="activeName!=5 && activeName!=6" type="primary" plain size="small" @click="handleAddContent()">新增内容</el-button>
</div>
</div>
<GLTable ref="editRef" :getListApi="getListApi" :noDataImg="url" :searchForm="searchForm" :beforeSearchFn="beforeSearchFn" :tableParams="tableParams" :pageConf="pageConf" @setTableFinishFun="setTableFinishFun">
......@@ -80,7 +80,8 @@ export default {
merchantName: '',
createDate: []
},
searchForm: {},
searchForm: {
},
ClassifyInfo: {},
url: url,
mode: 'mid',
......@@ -411,6 +412,8 @@ export default {
if(res?.list?.length){
const _target = this.formData.find(item => item.name == 'associationClassifyFirstId')
_target && (_target.optionList = res.list)
const _copyTarget = this.searchFormData.find(item => item.name == 'associationClassifyFirstId')
_copyTarget && (_copyTarget.optionList = res.list)
}
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!