style(WangEditor): 移除多余空行和引用

This commit is contained in:
郝先瑞
2022-03-05 16:07:59 +08:00
parent c860c00875
commit 0bbfe6f827

View File

@@ -22,9 +22,8 @@
</template>
<script setup>
import {computed, nextTick, onBeforeUnmount, onMounted, reactive, toRefs} from 'vue'
import {computed, onBeforeUnmount, reactive, toRefs} from 'vue'
import {Editor, Toolbar, getEditor, removeEditor} from '@wangeditor/editor-for-vue'
import cloneDeep from 'lodash.clonedeep'
// API 引用
import {uploadFile} from "@/api/system/file";
@@ -47,7 +46,6 @@ const modelValue = computed({
}
});
const state = reactive({
editorId: `w-e-${Math.random().toString().slice(-5)}`, //【注意】编辑器 id ,要全局唯一
toolbarConfig: {},