BUI

其它版本:

API for BUI 1.4.8

Show:

bui.load Class

页面跳转可以传参 获取参数请看 bui.getPageParams 方法

预览地址: demo

Constructor

bui.load

(
  • option
)

Parameters:

  • option Object
    • url String

      [请求的地址]

    • param Object

      [传过去另外页面的参数]

    • replace Boolean

      [替换当前url (1.3.0 新增),不新增历史记录]

    • reload Boolean

      [1.4.2新增,默认:false, 重新加载,如果单页应用要跳转到单页应用,则需要这个选项为true]

    • iframe Boolean

      [1.4.2新增,默认:false, 单页支持iframe加载,其它开发方式无效]

Example:

// 执行页面跳转
bui.load({ 
    url: "",
    param:{}
})

Item Index