search

Home  >  Q&A  >  body text

javascript - vux's confirm, x-number reports an error. . It’s said that I didn’t define it correctly, but that’s what the official website says.

世界只因有你世界只因有你2790 days ago738

reply all(2)I'll reply

  • 大家讲道理

    大家讲道理2017-05-16 13:36:10

    I’ve never used vux
    but I personally feel that there shouldn’t be a space between your :confirm-text:cancel-text and the equal sign and the value after the equal sign. Just remove the space and it should be fine

    reply
    0
  • 我想大声告诉你

    我想大声告诉你2017-05-16 13:36:10

    Solved. . It's because of webpack that confirm uses the es6 assign method.

    reply
    0
  • Cancelreply