Commit 20cf8018 authored by xinyuandu's avatar xinyuandu

新增或编辑之后普返回上一个页面

parent 959a2c3b
...@@ -1340,6 +1340,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function ...@@ -1340,6 +1340,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
location.replace('/admin.php/index/getHouseList.html'); location.replace('/admin.php/index/getHouseList.html');
} else { } else {
alert(data['msg']); alert(data['msg']);
window.location.href = '/admin.php/index/getHouseList.html';
}; };
} else { } else {
alert('数据错误'); alert('数据错误');
......
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