@@ -169,14 +169,16 @@ const disguiseMixins = function () {
type: 'warning'
}).then(() => {
this.deleteShopBanner(row.id)
+ _this.getBannerList()
})
},
// 删除广告图
deleteShopBanner(id){
+ const _this = this;
SupplierApi.deleteShopBanner({id: id}, function (res) {
if (res.code === 0) {
- CAIMEI.dialog('删除成功');
- location.reload()
+ CAIMEI.dialog('删除成功')
}