Browse Source

rel: 处理公告保存后跳转问题

wangcz 6 years ago
parent
commit
b5431bd7b5

+ 2 - 2
src/main/webapp/resources/js/admin/controllers/help/HelpDetailCtrl.js

@@ -86,7 +86,7 @@ define(['app/app'], function(app) {
                 HelpIssue.update({}, $scope.issue, function (data) {
                     toaster.pop('success', '保存成功');
                     $state.go('helpPublish');
-                    window.location.href ='admin_n#/help/publish';// quilljs锁定了跳转 必须这样跳两次才有效
+                    window.location.href ='admin#/help/publish';// quilljs锁定了跳转 必须这样跳两次才有效
                 }, function(response) {
                     toaster.pop('error', response.data);
                 });
@@ -111,7 +111,7 @@ define(['app/app'], function(app) {
                 HelpIssue.publish({}, $scope.issue, function (data) {
                     toaster.pop('success', '发布成功');
                     $state.go('helpPublish');
-                    window.location.href = 'admin_n#/help/publish';
+                    window.location.href = 'admin#/help/publish';
                 }, function(response) {
                     toaster.pop('error', response.data);
                 });