|
|
@@ -1,7 +1,7 @@
|
|
|
-import Vue from "vue";
|
|
|
-import App from "./App.vue";
|
|
|
-import router from "./router";
|
|
|
-import "@/assets/styles/index.css";
|
|
|
+import Vue from 'vue';
|
|
|
+import App from './App.vue';
|
|
|
+import router from './router';
|
|
|
+import '@/assets/styles/index.css';
|
|
|
import {
|
|
|
parseTime,
|
|
|
selectDictLabelu,
|
|
|
@@ -13,24 +13,24 @@ import {
|
|
|
Micrometer,
|
|
|
weeklyTimeDivision,
|
|
|
gcj02BD,
|
|
|
-} from "@/utils/index";
|
|
|
-import { toastLoading } from "@/utils/commonVant";
|
|
|
-import "@vant/touch-emulator";
|
|
|
+} from '@/utils/index';
|
|
|
+import { toastLoading } from '@/utils/commonVant';
|
|
|
+import '@vant/touch-emulator';
|
|
|
Vue.config.productionTip = false;
|
|
|
-import Vant from "vant";
|
|
|
-import { Toast } from "vant";
|
|
|
-import "vant/lib/index.css";
|
|
|
-import ClipboardJS from "clipboard";
|
|
|
+import Vant from 'vant';
|
|
|
+import { Toast } from 'vant';
|
|
|
+import 'vant/lib/index.css';
|
|
|
+import ClipboardJS from 'clipboard';
|
|
|
Vue.use(Vant);
|
|
|
-import ElTable from "element-ui/lib/table";
|
|
|
-import "element-ui/lib/theme-chalk/table.css";
|
|
|
-import "element-ui/lib/theme-chalk/icon.css";
|
|
|
-import ElTableColumn from "element-ui/lib/table-column";
|
|
|
-import ElPopover from "element-ui/lib/popover";
|
|
|
-import "element-ui/lib/theme-chalk/table-column.css";
|
|
|
-import "element-ui/lib/theme-chalk/popover.css";
|
|
|
-import Vconsole from "vconsole";
|
|
|
-import wx from "weixin-js-sdk";
|
|
|
+import ElTable from 'element-ui/lib/table';
|
|
|
+import 'element-ui/lib/theme-chalk/table.css';
|
|
|
+import 'element-ui/lib/theme-chalk/icon.css';
|
|
|
+import ElTableColumn from 'element-ui/lib/table-column';
|
|
|
+import ElPopover from 'element-ui/lib/popover';
|
|
|
+import 'element-ui/lib/theme-chalk/table-column.css';
|
|
|
+import 'element-ui/lib/theme-chalk/popover.css';
|
|
|
+import Vconsole from 'vconsole';
|
|
|
+import wx from 'weixin-js-sdk';
|
|
|
|
|
|
Vue.use(ElTable);
|
|
|
Vue.use(ElTableColumn);
|
|
|
@@ -49,16 +49,16 @@ Vue.prototype.wx = wx;
|
|
|
Vue.prototype.parseTimeParagraph = parseTimeParagraph;
|
|
|
Vue.prototype.Micrometer = Micrometer;
|
|
|
Vue.prototype.Toast = Toast;
|
|
|
-var clipboard = new ClipboardJS(".btn");
|
|
|
-clipboard.on("success", function (e) {
|
|
|
- Toast("编码复制成功!");
|
|
|
+var clipboard = new ClipboardJS('.btn');
|
|
|
+clipboard.on('success', function (e) {
|
|
|
+ Toast('编码复制成功!');
|
|
|
});
|
|
|
|
|
|
-clipboard.on("error", function (e) {
|
|
|
- Toast("编码复制失败!");
|
|
|
+clipboard.on('error', function (e) {
|
|
|
+ Toast('编码复制失败!');
|
|
|
});
|
|
|
|
|
|
-const isProd = process.env.NODE_ENV !== "production";
|
|
|
+const isProd = process.env.NODE_ENV !== 'production';
|
|
|
if (isProd) {
|
|
|
const vConsole = new Vconsole();
|
|
|
Vue.use(vConsole);
|
|
|
@@ -67,4 +67,4 @@ if (isProd) {
|
|
|
new Vue({
|
|
|
router,
|
|
|
render: (h) => h(App),
|
|
|
-}).$mount("#app");
|
|
|
+}).$mount('#app');
|