Navigation

    云、贵、川、渝IT人的圈子
    • Register
    • Login
    • Search
    • 主页
    • 问答
    • 话题
    • 热门
    • 圈子
    • 招聘
    • 活动
    • 项目

    element ui MessageBox 手动关闭问题

    技术答疑
    1
    1
    24
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      zuogen489 last edited by

      MessageBox 自定义html以后,我希望在弹窗内部的html上做一个关闭的按钮!如何点击触发关闭呢?

      this.$alert('<h1><span class="iconfont icon-gou1"></span>提交成功</h1><button class="primary">完成</button>', {
        dangerouslyUseHTMLString: true,
        showConfirmButton: false
      })
      

      我期望是点击button关闭弹窗, 寻求思路!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Z
      8
      玻
      U
      A
      大
      A
      黑
      低
      天
      白
      快
      爱
      白
      美
      此
      荒
      为
      哭
      柳
      无
      真

      社群
      昆明网页设计交流吧
      友情链接
      • Funtask
      • Funtask 社区
      • SUWIS
      • 云南北大青鸟
      ©2019-2020 滇ICP备20006698号