refactor: 组件示例重构
Former-commit-id: 039dc1ce505489c4d1b360fd50771a10b5476227
This commit is contained in:
11
src/views/demo/editor.vue
Normal file
11
src/views/demo/editor.vue
Normal file
@@ -0,0 +1,11 @@
|
||||
<!-- wangEditor富文本编辑器示例 -->
|
||||
<script setup lang="ts">
|
||||
import Editor from '@/components/WangEditor/index.vue';
|
||||
const value = ref('初始内容');
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<editor v-model="value" style="height: 600px" />
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user