Commit 17bfff7b authored by Facius's avatar Facius

文件列表为空的时候

parent c66caf3e
......@@ -101,7 +101,7 @@ const install = (Vue, vm) => {
// return result;
case 200:
return {
data:result.data == null ? result : result.data, // result.data的值为0, false, ''的时候也要算有值;;null的情况下后台返回的是单层及{header: ', data: 数据, message:'', code: ''}
data:result.data === undefined ? result : result.data, // result.data的值为0, false, '', null的时候也要算有值;undefined的情况下后台返回的是单层及{header: ', data: 数据, message:'', code: ''}
code:code,
message:msg
};
......
......@@ -280,7 +280,7 @@
}
}
},
// 获取品牌列表
// 获取文件列表
async loadFileList(partnerCompanyId, brandId) {
this.loading = true
let res = await this.$u.api.fileList({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment