'wip(semantic):调整模板api接口'
This commit is contained in:
@@ -104,7 +104,7 @@
|
||||
success: function (result) {
|
||||
layer.close(loading)
|
||||
if (result.success) {
|
||||
popup.success(result.msg, function () {
|
||||
popup.success(result.message, function () {
|
||||
location.href = '/admin'
|
||||
})
|
||||
return true
|
||||
|
||||
@@ -61,11 +61,11 @@
|
||||
layer.close(loader) // 关闭加载按钮
|
||||
btn.stop(function () {
|
||||
if (result.success) {
|
||||
popup.success(result.msg, function () {
|
||||
popup.success(result.message, function () {
|
||||
location.href = '/admin'
|
||||
})
|
||||
} else {
|
||||
popup.failure(result.msg, function () {
|
||||
popup.failure(result.success, function () {
|
||||
document.getElementById('captchaImage').src = captchaPath + '?' + Math.random()
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user