|
@@ -179,7 +179,8 @@ define(function (require) {
|
|
|
url: (context.isEdit ? api('/yeweihui/tgStatus') : api('/yeweihui/tgPublish')),
|
|
|
success: function (data) {
|
|
|
isLoading = false;
|
|
|
- if (data.data == 1) {
|
|
|
+ console.log("返回数据", data);
|
|
|
+ if (data.success == true) {
|
|
|
$.yvan.msg('保存成功');
|
|
|
$dlg.window('close');
|
|
|
if ($.type(context.confirm) === 'function') {
|