@@ -239,10 +239,10 @@
`/sys/file/webupload/upload?uploadPath=religioussites/fire/fireEquipment`,
headers: {
"Content-Type": "multipart/form-data",
+ "Authorization": token
},
}).then((res) => {
// "token": token,
- // "Authorization": token
let data = res[0].data;
data.name = decodeURIComponent(
data.id.substring(data.url.lastIndexOf("/") + 1)
@@ -228,6 +228,9 @@ export default {
})//上线取消注释
} else {
+ xm.showToast({
+ message: "111"+res.header['Set-Cookie'],
+ });
that.getBannerImg();//获取轮播图
that.getSelectColor();//获取主题颜色
that.dataNumber();//获取待办事项数