|
@@ -67,17 +67,16 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
data() {
|
|
|
- const BASE_URL = process.env.NODE_ENV === 'development' ? '' : process.env.BASE_URL;
|
|
|
return {
|
|
|
id: getRandomNumber(),
|
|
|
init: {
|
|
|
inline: this.inline,
|
|
|
- language_url: `${BASE_URL}/tinymce/langs/zh_CN.js`,
|
|
|
+ language_url: `${process.env.BASE_URL}tinymce/langs/zh_CN.js`,
|
|
|
placeholder: this.placeholder,
|
|
|
language: 'zh_CN',
|
|
|
- skin_url: `${BASE_URL}/tinymce/skins/ui/oxide`,
|
|
|
+ skin_url: `${process.env.BASE_URL}tinymce/skins/ui/oxide`,
|
|
|
// height: this.height,
|
|
|
- content_css: `${BASE_URL}/tinymce/skins/content/index.css`,
|
|
|
+ content_css: `${process.env.BASE_URL}tinymce/skins/content/index.css`,
|
|
|
min_height: 52,
|
|
|
width: '100%',
|
|
|
autoresize_bottom_margin: 0,
|