提交 0bbfe6f8 编写于 作者: 郝先瑞

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

上级 c860c008
......@@ -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: {},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册