|
@@ -51,9 +51,9 @@
|
|
|
init(){
|
|
|
this.status = 'loading'
|
|
|
// 获取门店列表
|
|
|
- findStoreList().then(res => {
|
|
|
+ findStoreList({}).then(res => {
|
|
|
if(res.status == 200){
|
|
|
- this.list = res.data.list || []
|
|
|
+ this.list = res.data || []
|
|
|
this.noDataText = '暂无数据' // 有列表数据时不显示,因此只用默认设置为无数据时所需显示的'暂无数据'即可
|
|
|
}else{
|
|
|
this.list = []
|