wiki调试修改,增加自研编辑器
This commit is contained in:
27
zyplayer-doc-ui/wiki-ui/src/views/page/EditorTest.vue
Normal file
27
zyplayer-doc-ui/wiki-ui/src/views/page/EditorTest.vue
Normal file
@@ -0,0 +1,27 @@
|
||||
<template>
|
||||
<div style="padding: 10px;" class="page-editor-vue">
|
||||
<mg-editor></mg-editor>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import mgEditor from '../../components/editor/MgEditor'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
editor: {},
|
||||
};
|
||||
},
|
||||
components: {
|
||||
'mg-editor': mgEditor,
|
||||
},
|
||||
mounted: function () {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
</style>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
创建:{{wikiPage.createUserName}} {{wikiPage.createTime}}
|
||||
<span v-show="wikiPage.updateUserName">修改:{{wikiPage.updateUserName}} {{wikiPage.updateTime}}</span>
|
||||
<div style="float: right;">
|
||||
<el-upload class="upload-page-file" :action="apilist1.commonUpload"
|
||||
<el-upload class="upload-page-file" :action="uploadFileUrl"
|
||||
:with-credentials="true"
|
||||
:on-success="uploadFileSuccess" :on-error="uploadFileError"
|
||||
name="files" show-file-list multiple :data="uploadFormData" :limit="999"
|
||||
@@ -155,6 +155,7 @@
|
||||
commentTextInput: "",
|
||||
commentList: [],
|
||||
recommentInfo: {},
|
||||
uploadFileUrl: process.env.VUE_APP_BASE_API + '/zyplayer-doc-wiki/common/upload',
|
||||
// 页面权限
|
||||
pageAuthDialogVisible: false,
|
||||
pageAuthUserList: [],
|
||||
|
||||
Reference in New Issue
Block a user