Parcourir la source

提示语支持html

zhangxc il y a 5 ans
Parent
commit
6638ad06ef
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/components/safeControl/AddToken.vue

+ 1 - 0
src/components/safeControl/AddToken.vue

@@ -205,6 +205,7 @@
         warning(msg, type,time) {
             this.$message({
                 showClose: true,
+                dangerouslyUseHTMLString: true,
                 message: msg,
                 type: type || 'warning',
                 duration:time || '3000'