Преглед на файлове

兼容低版本浏览器

高雄 преди 1 година
родител
ревизия
fc92530455
променени са 1 файла, в които са добавени 7 реда и са изтрити 0 реда
  1. 7 0
      src/main.js

+ 7 - 0
src/main.js

@@ -56,6 +56,8 @@ import layoutCom from "@/components/layoutContainer/index.vue";
 import "@/utils/dialogdrag.js";
 // 水印组件
 import watercom from '@/components/waterCom.vue'
+//日历组件
+// import VCalendar from 'v-calendar';
 // 全局方法挂载
 Vue.prototype.getDicts = getDicts;
 //根据参数键名查询参数值
@@ -94,6 +96,7 @@ Vue.component("layoutCom", layoutCom);
 Vue.use(directive);
 Vue.use(plugins);
 Vue.use(VueMeta);
+
 DictData.install();
 
 /**
@@ -109,6 +112,10 @@ Vue.use(Element, {
   size: sessionStorage.getItem("size") || "medium", // set element-ui default size
 });
 
+/*Vue.use(VCalendar, {
+  componentPrefix: 'v',  // Use <vc-calendar /> instead of <v-calendar />
+});*/
+
 Vue.config.productionTip = false;
 
 new Vue({