chore(Picker): prefer using textContent (#6569)
This commit is contained in:
@@ -285,7 +285,7 @@ export default createComponent({
|
||||
const childData = {
|
||||
class: 'van-ellipsis',
|
||||
domProps: {
|
||||
[this.allowHtml ? 'innerHTML' : 'innerText']: text,
|
||||
[this.allowHtml ? 'innerHTML' : 'textContent']: text,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user