fastadmin iframe 表单提交之后跳转

controller 对应的那个js文件中添加:

define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function($, undefined, Backend, Table, Form){
    Form.api.bindevent($("form[role=form]"), function(){
        window.top.location.href='http://www.google.com';
    }) 
})

Form.api.bindevent 定义在require-form.js中

原文地址:https://www.cnblogs.com/bushe/p/7794861.html