取消quillEditor为全局组件

This commit is contained in:
fan 2021-03-03 15:12:21 +08:00
parent ed791a0a2f
commit 345205fcd7
3 changed files with 10 additions and 2 deletions

View File

@ -5,13 +5,13 @@ import TurnbackBar from '@/components/TurnbackBar';
import ConstConfig from '@/scripts/ConstConfig';
import Dictionary from '@/scripts/DictionaryData';
import Theme from '@/jmapNew/theme/factory';
import QuillEditor from '@/components/QuillEditor/index';
// import QuillEditor from '@/components/QuillEditor/index';
// 全局组件
Vue.component('DataForm', DataForm);
Vue.component('QueryListPage', QueryListPage);
Vue.component('TurnbackBar', TurnbackBar);
Vue.component('QuillEditor', QuillEditor);
// Vue.component('QuillEditor', QuillEditor);
Vue.prototype.$ConstSelect = (function() {
ConstConfig.ConstSelect.translate = function(value, codeName) {

View File

@ -10,7 +10,11 @@
<script>
import QuillEditor from '@/components/QuillEditor/index';
export default {
components: {
QuillEditor
},
data() {
return {
show: false,

View File

@ -96,8 +96,12 @@ import reply_icon from '@/assets/reply.png';
import delete_icon from '@/assets/delete.png';
import { superAdmin } from '@/router/index';
import { ProjectCode } from '@/scripts/ProjectConfig';
import QuillEditor from '@/components/QuillEditor/index';
export default {
name: 'MessageBoard',
components: {
QuillEditor
},
data() {
return {
content: '',