buefy通知中的自定义按钮

时间:2020-12-27 23:48:07

标签: vue.js nuxt.js buefy

this.$buefy.notification.open({
  duration: 3000, 
  message: message + `<br><a @click="forgotPassword">Forgot password?</a>`, 
  position: 'is-bottom-right',
  type: 'is-danger',
  hasIcon: true,
  icon: 'alert-circle'
})

如何使快速通知自定义 HTML 按钮工作?

0 个答案:

没有答案