1、修复请求返回值未使用常量web_status.SUCCESS的问题。
This commit is contained in:
@ -58,7 +58,7 @@
|
||||
data: $('#form-demo-2').serialize(),
|
||||
type: "post",
|
||||
success: function(result) {
|
||||
if (result.code == 0) {
|
||||
if (result.code == web_status.SUCCESS) {
|
||||
layer.msg("保存成功,正在刷新数据请稍后……", {
|
||||
icon: 1,
|
||||
time: 500,
|
||||
|
Reference in New Issue
Block a user