mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-02 06:33:40 +08:00
32 lines
444 B
Vue
32 lines
444 B
Vue
|
<template>
|
||
|
<div class="page-editor-quill">
|
||
|
<cl-editor-quill v-model="content" @load="onLoad" :height="400"></cl-editor-quill>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
content: "",
|
||
|
options: {
|
||
|
placeholder: "输入内容"
|
||
|
}
|
||
|
};
|
||
|
},
|
||
|
|
||
|
methods: {
|
||
|
onLoad(ref) {
|
||
|
console.log(ref);
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
</script>
|
||
|
|
||
|
<style lang="scss" scoped>
|
||
|
.page-editor-quill {
|
||
|
background-color: #fff;
|
||
|
padding: 10px;
|
||
|
}
|
||
|
</style>
|