|
@@ -409,10 +409,13 @@
|
|
|
deleteStore: function (id) {
|
|
|
$eb.$swal('delete', function () {
|
|
|
$eb.axios.get(layList.U({a: 'del_store', q: {id: id}})).then(function (res) {
|
|
|
+ console.log(res)
|
|
|
if (res.data.code == 200) {
|
|
|
-
|
|
|
+ console.log(res.data)
|
|
|
+ layList.alert(res.data.msg);
|
|
|
+ layList.reload();
|
|
|
} else {
|
|
|
-
|
|
|
+ console.log(res.data)
|
|
|
}
|
|
|
|
|
|
}).catch(function (err) {
|