parent
d41ba07101
commit
1169879a7a
|
|
@ -9,6 +9,8 @@
|
|||
</title>
|
||||
<meta name="keywords" content="商城系统,开源电商系统,免费电商系统,PHP电商系统,商城系统,B2C电商系统,B2B2C电商系统" />
|
||||
<meta name="description" content="ShopXO是国内领先的商城系统提供商,为企业提供php商城系统、微信商城、小程序。" />
|
||||
<script src="./static/sp-edit/quill.min.js"></script>
|
||||
<script src="./static/sp-edit/image-resize.min.js"></script>
|
||||
<script>
|
||||
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
|
||||
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@
|
|||
},
|
||||
},
|
||||
mounted() {
|
||||
onEditorReady();
|
||||
this.onEditorReady();
|
||||
},
|
||||
methods: {
|
||||
onEditorReady() {
|
||||
|
|
@ -109,9 +109,9 @@
|
|||
this.editorCtx = res.context;
|
||||
this.$emit('init', this.editorCtx);
|
||||
// 启用preRender方法时会预先渲染templates内容,但是在小程序中会导致页面自动聚焦至富文本的区域
|
||||
if (this.templates) {
|
||||
this.preRender();
|
||||
}
|
||||
// if (this.templates) {
|
||||
this.preRender();
|
||||
// }
|
||||
})
|
||||
.exec((result) => {});
|
||||
// #endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue