取消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 ConstConfig from '@/scripts/ConstConfig';
import Dictionary from '@/scripts/DictionaryData'; import Dictionary from '@/scripts/DictionaryData';
import Theme from '@/jmapNew/theme/factory'; import Theme from '@/jmapNew/theme/factory';
import QuillEditor from '@/components/QuillEditor/index'; // import QuillEditor from '@/components/QuillEditor/index';
// 全局组件 // 全局组件
Vue.component('DataForm', DataForm); Vue.component('DataForm', DataForm);
Vue.component('QueryListPage', QueryListPage); Vue.component('QueryListPage', QueryListPage);
Vue.component('TurnbackBar', TurnbackBar); Vue.component('TurnbackBar', TurnbackBar);
Vue.component('QuillEditor', QuillEditor); // Vue.component('QuillEditor', QuillEditor);
Vue.prototype.$ConstSelect = (function() { Vue.prototype.$ConstSelect = (function() {
ConstConfig.ConstSelect.translate = function(value, codeName) { ConstConfig.ConstSelect.translate = function(value, codeName) {

View File

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

View File

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