表格处理
This commit is contained in:
10
src/main.js
10
src/main.js
@@ -15,6 +15,10 @@ import Common from './components/common/common'
|
||||
Vue.prototype.$validateString = function (str) {
|
||||
return /^[a-zA-Z\s-]+$/.test(str);
|
||||
}
|
||||
import VXETable from 'vxe-table'
|
||||
import 'vxe-table/lib/style.css'
|
||||
|
||||
Vue.use(VXETable)
|
||||
|
||||
// 引入富文本编辑器
|
||||
import VueQuillEditor from 'vue-quill-editor'
|
||||
@@ -62,6 +66,12 @@ Vue.prototype.$echarts = echarts
|
||||
Vue.prototype.$api = api
|
||||
|
||||
Vue.config.productionTip = false;
|
||||
import Editor from "@tinymce/tinymce-vue"; // 默认导入
|
||||
|
||||
Vue.component("Editor", Editor);
|
||||
|
||||
import commonTable from '@/components/page/components/table/table.vue'
|
||||
Vue.component('common-table', commonTable);
|
||||
Vue.use(VueI18n);
|
||||
Vue.use(ElementUI, {
|
||||
size: 'small',
|
||||
|
||||
Reference in New Issue
Block a user