eslint
This commit is contained in:
@@ -1,28 +1,28 @@
|
||||
import Vue from "vue";
|
||||
import Vue from 'vue';
|
||||
// 分页组件
|
||||
import Pagination from "@/components/Pagination";
|
||||
import Pagination from '@/components/Pagination';
|
||||
// 自定义表格工具组件
|
||||
import RightToolbar from "@/components/RightToolbar";
|
||||
import RightToolbar from '@/components/RightToolbar';
|
||||
// 富文本组件
|
||||
import Editor from "@/components/Editor";
|
||||
import Editor from '@/components/Editor';
|
||||
// 文件上传组件
|
||||
import FileUpload from "@/components/FileUpload";
|
||||
import FileUpload from '@/components/FileUpload';
|
||||
// 图片上传组件
|
||||
import ImageUpload from "@/components/ImageUpload";
|
||||
import ImageUpload from '@/components/ImageUpload';
|
||||
// 图片预览组件
|
||||
import ImagePreview from "@/components/ImagePreview";
|
||||
import ImagePreview from '@/components/ImagePreview';
|
||||
// 字典标签组件
|
||||
import DictTag from "@/components/DictTag";
|
||||
import DictTag from '@/components/DictTag';
|
||||
// 字典数据组件
|
||||
import DictData from '@/components/DictData'
|
||||
import DictData from '@/components/DictData';
|
||||
|
||||
// 全局组件挂载
|
||||
Vue.component("DictTag", DictTag);
|
||||
Vue.component("Pagination", Pagination);
|
||||
Vue.component("RightToolbar", RightToolbar);
|
||||
Vue.component("Editor", Editor);
|
||||
Vue.component("FileUpload", FileUpload);
|
||||
Vue.component("ImageUpload", ImageUpload);
|
||||
Vue.component("ImagePreview", ImagePreview);
|
||||
Vue.component('DictTag', DictTag);
|
||||
Vue.component('Pagination', Pagination);
|
||||
Vue.component('RightToolbar', RightToolbar);
|
||||
Vue.component('Editor', Editor);
|
||||
Vue.component('FileUpload', FileUpload);
|
||||
Vue.component('ImageUpload', ImageUpload);
|
||||
Vue.component('ImagePreview', ImagePreview);
|
||||
|
||||
DictData.install()
|
||||
DictData.install();
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import Vue from "vue";
|
||||
import Vue from 'vue';
|
||||
|
||||
import { parseTime, resetForm, handleTree } from "@/utils/ruoyi";
|
||||
import { deepClone } from "@/utils/index";
|
||||
import { download } from "@/utils/request";
|
||||
import { parseTime, resetForm, handleTree, addDateRange } from '@/utils/ruoyi';
|
||||
import { deepClone } from '@/utils/index';
|
||||
import { download } from '@/utils/request';
|
||||
import { getConfigKey } from '@/api/system/config';
|
||||
|
||||
// 全局方法挂载
|
||||
Vue.prototype.parseTime = parseTime;
|
||||
@@ -10,3 +11,5 @@ Vue.prototype.resetForm = resetForm;
|
||||
Vue.prototype.download = download;
|
||||
Vue.prototype.handleTree = handleTree;
|
||||
Vue.prototype.deepClone = deepClone;
|
||||
Vue.prototype.addDateRange = addDateRange;
|
||||
Vue.prototype.getConfigKey = getConfigKey;
|
||||
|
||||
@@ -13,5 +13,5 @@ Vue.prototype.$global = {
|
||||
clientHeight: document.body.clientHeight,
|
||||
defaultPageSize: 10,
|
||||
successCode: successCode,
|
||||
STORAGE_KEY: 'jslx'
|
||||
STORAGE_KEY: 'duima'
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import "./global";
|
||||
import "./element";
|
||||
import "./components";
|
||||
import "./func";
|
||||
import './global';
|
||||
import './element';
|
||||
import './components';
|
||||
import './func';
|
||||
|
||||
Reference in New Issue
Block a user