修复自定义指令lemon-contextmenu报错的问题
This commit is contained in:
@@ -10,7 +10,7 @@ export default {
|
||||
props={{ ...this.$attrs }}
|
||||
scopedSlots={{
|
||||
content: props => {
|
||||
const content = this.IMUI.replaceEmojiName(props.content);
|
||||
const content = this.IMUI.emojiNameToImage(props.content);
|
||||
return <span domProps={{ innerHTML: content }} />;
|
||||
}
|
||||
}}
|
||||
@@ -29,6 +29,8 @@ export default {
|
||||
height 18px
|
||||
display inline-block
|
||||
background transparent
|
||||
position relative
|
||||
top -1px
|
||||
padding 0 2px
|
||||
vertical-align middle
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user