Browse Source

课程编辑后跳转

lizhen_gitee 7 months ago
parent
commit
91c85d0ce2
1 changed files with 3 additions and 1 deletions
  1. 3 1
      public/assets/js/backend/lesson.js

+ 3 - 1
public/assets/js/backend/lesson.js

@@ -63,7 +63,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
             Controller.api.bindevent();
         },
         edit: function () {
-            Controller.api.bindevent();
+            Form.api.bindevent($("form[role=form]"), function(data, ret){
+                window.location.href = ret.url;
+            })
         },
         api: {
             bindevent: function () {