摘要: export default { // ... // 在组件初始化时调用,可以简单理解为页面加载时 created () { // 存在 localStorage 的缓存内容 if (localStorage.data) { this.myData = JSON.parse(localStorage 阅读全文
posted @ 2018-07-23 21:27 小贝馨 阅读(421) 评论(0) 推荐(0)
摘要: //预览<div class="htmlViewBox"> <p v-html="activity_html_defaultMsg" v-show="htmlDefaultMsg"></p> <p v-show="defaultMsg=='' && htmlDefaultMsg==''">请在富文本 阅读全文
posted @ 2018-07-23 11:25 小贝馨 阅读(1640) 评论(0) 推荐(0)
摘要: <template> <div> <textarea style="display:none" id="editor_content" name="contentHtml"></textarea> <script id="editor" type="text/plain"></script> </d 阅读全文
posted @ 2018-07-23 11:23 小贝馨 阅读(869) 评论(0) 推荐(0)