1.编辑器优化

2024.1.14 sws
master
sws 2024-01-14 20:11:47 +08:00
parent d41ba07101
commit 1169879a7a
4 changed files with 6 additions and 4 deletions

View File

@ -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' : '') + '" />')

View File

@ -93,7 +93,7 @@
},
},
mounted() {
onEditorReady();
this.onEditorReady();
},
methods: {
onEditorReady() {
@ -109,9 +109,9 @@
this.editorCtx = res.context;
this.$emit('init', this.editorCtx);
// preRendertemplates
if (this.templates) {
this.preRender();
}
// if (this.templates) {
this.preRender();
// }
})
.exec((result) => {});
// #endif