在提交表单的时候,我们都需要关闭表单。需要关闭当前打开的窗口。

bit.alert('提交成功' + (result.category.needAudit ? ",请耐心等待管理员审核信息后显示" : ""), function () {
                                            if (typeof window.listPage != 'undefined') {
                                                mui.fire(window.listPage, 'reloadData', null);
                                            }
                                            if (mui.os.plus) {
                                                mui.plusReady(function () {
                                                    var ws = plus.webview.currentWebview();
                                                    plus.webview.close(ws);
                                                });
                                            }
                                            mui.back();
                                        });

使用这句就可以关闭当前的窗口。

相关文章:

  • 2022-03-01
  • 2021-07-20
  • 2022-12-23
  • 2022-12-23
  • 2021-11-14
  • 2022-12-23
  • 2022-02-15
  • 2022-12-23
猜你喜欢
  • 2021-12-26
  • 2021-12-26
  • 2021-12-23
  • 2022-01-03
  • 2021-07-05
  • 2021-09-08
  • 2022-12-23
相关资源
相似解决方案