记得上下班打卡 | git大法好,push需谨慎

Commit e296cc82 authored by dongchun's avatar dongchun

修改banner确定后的回调触发方式

parent 3091ca6a
......@@ -381,7 +381,7 @@
data.push({...obj})
});//foreach js6章封装的方法
promiseMethods('/frontBanner/updateOrCreate', 'post', JSON.stringify(data), 'application/json').then(res => {
if (type == 2) {
// if (type == 2) {
let data = {
"mid": 1,
"moudleIndexId": "708753099180072962244503",
......@@ -393,7 +393,7 @@
"status": 0
};
return promiseMethods('/front-index/update', 'post', JSON.stringify(data), 'application/json')
}
// }
}).then(res => {
layer.msg("保存成功!")
$.operate.successCallback(res);
......
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