介绍

通过点击按钮事件,弹出一个静态页面

详细步骤

1. 注册按钮点击事件

2. 编写代码

相关代码

  • 方式一:
    const {
      $func,  // 功能对象
      button, // 按钮对象
    } = EventOptions;
    const {h}= JE.useVue();
    JE.window({
      title:'窗口',
      content(){
          return h('iframe', { src: 'https://www.jecloud.net',width: '100%', height: '100%', frameborder: '0' });
          //return JE.h('div','http://jepaas.com');
      }
    })
  • 方式二:
    const {
      $func,  // 功能对象
      button, // 按钮对象
    } = EventOptions;
    window.open("https://www.jecloud.net");
最后编辑: 呼丽华  文档更新时间: 2024-08-29 09:50   作者:呼丽华