Browse Source

提示bug

lijuncheng0816
zhang_li 1 month ago
parent
commit
2b7189011c
  1. 11
      src/mycomponents/common/comMessage.vue

11
src/mycomponents/common/comMessage.vue

@ -13,8 +13,11 @@
<image class="icon" :src="icon" />
</slot>
<slot name="content">
<rich-text class="content" :nodes="content" :style="{'color': textColor}" :key='count'>
</rich-text>
<text class="content" :style="{'color': textColor?textColor:'#000'}" v-if="textColor">
{{content}}
</text>
<rich-text class="content" :nodes="content" v-else></rich-text>
</slot>
<view class='split_line'></view>
<slot name="button">
@ -63,7 +66,7 @@
seconds: 0,
success: () => {} ,//
version:"",
textColor:'#000',
textColor:'',
count:0
}
},
@ -425,7 +428,7 @@
if (data.textColor) {
this.textColor = data.textColor
} else {
this.textColor = '#000'
this.textColor = ''
}
if (data.showConfirmButton === false || data.showConfirmButton === true) {
this.showConfirmButton = data.showConfirmButton

Loading…
Cancel
Save