perf: remove optional chain

This commit is contained in:
vben
2020-10-23 23:11:12 +08:00
parent 144fde8a68
commit e034d1bacc
16 changed files with 234 additions and 275 deletions

View File

@@ -1,6 +1,5 @@
<template>
<div class="flex p-4">
{{ value }}
<div class="p-4">
<Tinymce v-model="value" @change="handleChange" width="100%" />
</div>
</template>
@@ -15,9 +14,6 @@
function handleChange(value: string) {
console.log(value);
}
// setTimeout(() => {
// value.value = '1233';
// }, 5000);
return { handleChange, value };
},
});