Sfoglia il codice sorgente

兼容低版本浏览器

高雄 1 anno fa
parent
commit
fc92530455
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  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({