refactor
This commit is contained in:
parent
645dbebd86
commit
b80ec1fa3f
9 changed files with 40 additions and 47 deletions
|
|
@ -45,7 +45,7 @@ export default defineComponent({
|
|||
},
|
||||
|
||||
render() {
|
||||
if (this.text == null || this.text == '') return;
|
||||
if (this.text == null || this.text === '') return;
|
||||
|
||||
const ast = (this.plain ? mfm.parsePlain : mfm.parse)(this.text, { fnNameList: MFM_TAGS });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue