|
@@ -1,6 +1,6 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div> |
|
|
|
|
|
<div class="edit_container"> |
|
|
|
|
|
|
|
|
<div class="box-center"> |
|
|
|
|
|
<div class="edit_container" style="margin-top:50px;"> |
|
|
<div id="editor"></div> |
|
|
<div id="editor"></div> |
|
|
</div> |
|
|
</div> |
|
|
<div style="margin-top: 10px"> |
|
|
<div style="margin-top: 10px"> |
|
@@ -27,6 +27,7 @@ export default { |
|
|
// 配置 server 接口地址 |
|
|
// 配置 server 接口地址 |
|
|
// editor.config.uploadImgServer = "/upload-img"; |
|
|
// editor.config.uploadImgServer = "/upload-img"; |
|
|
editor.config.uploadImgShowBase64 = true |
|
|
editor.config.uploadImgShowBase64 = true |
|
|
|
|
|
editor.config.zIndex = 500 |
|
|
editor.create(); |
|
|
editor.create(); |
|
|
this.editor=editor |
|
|
this.editor=editor |
|
|
}, |
|
|
}, |
|
@@ -40,4 +41,10 @@ export default { |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<style lang="scss" scoped > |
|
|
<style lang="scss" scoped > |
|
|
|
|
|
.box-center { |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
padding: 15px; |
|
|
|
|
|
min-width: 1000px; |
|
|
|
|
|
padding-bottom: 100px; |
|
|
|
|
|
} |
|
|
</style> |
|
|
</style> |