style(WangEditor): 移除多余空行和引用
This commit is contained in:
@@ -22,9 +22,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<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 {Editor, Toolbar, getEditor, removeEditor} from '@wangeditor/editor-for-vue'
|
||||||
import cloneDeep from 'lodash.clonedeep'
|
|
||||||
|
|
||||||
// API 引用
|
// API 引用
|
||||||
import {uploadFile} from "@/api/system/file";
|
import {uploadFile} from "@/api/system/file";
|
||||||
@@ -47,7 +46,6 @@ const modelValue = computed({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
editorId: `w-e-${Math.random().toString().slice(-5)}`, //【注意】编辑器 id ,要全局唯一
|
editorId: `w-e-${Math.random().toString().slice(-5)}`, //【注意】编辑器 id ,要全局唯一
|
||||||
toolbarConfig: {},
|
toolbarConfig: {},
|
||||||
|
|||||||
Reference in New Issue
Block a user