Ver código fonte

固定fullcalendar的版本号

cxmo 11 meses atrás
pai
commit
3ed27a5b8f
2 arquivos alterados com 10 adições e 7 exclusões
  1. 5 4
      package.json
  2. 5 3
      src/views/forexCalendar/Index.vue

+ 5 - 4
package.json

@@ -10,10 +10,11 @@
   },
   "dependencies": {
     "@element-plus/icons-vue": "^2.0.0-beta.0",
-    "@fullcalendar/core": "^5.10.1",
-    "@fullcalendar/daygrid": "^5.10.1",
-    "@fullcalendar/interaction": "^5.10.1",
-    "@fullcalendar/vue3": "^5.10.1",
+    "@fullcalendar/core": "5.11.0",
+    "@fullcalendar/daygrid": "5.11.0",
+    "@fullcalendar/timegrid": "5.11.0",
+    "@fullcalendar/interaction": "5.11.0",
+    "@fullcalendar/vue3": "5.11.0",
     "@vueuse/core": "^9.0.0",
     "axios": "^0.26.0",
     "element-plus": "^2.0.2",

+ 5 - 3
src/views/forexCalendar/Index.vue

@@ -1,8 +1,8 @@
 <script setup>
-import { ref, reactive } from 'vue'
+import { ref, reactive, onMounted } from 'vue'
 import { useRouter } from "vue-router";
-import BaseCalendar from './components/BaseCalendar.vue'
 import { ElMessage} from 'element-plus'
+import BaseCalendar from './components/BaseCalendar.vue'
 
 let varietyValue = ref('汇率')
 let monthValue = ref('')
@@ -54,7 +54,9 @@ function handleClickEvent(event){
     if(event.matter_type===1) return ElMessage("该事项未关联指标")
     router.push('/forexCalendar/detail')
 }
-
+onMounted(()=>{
+    
+})
 </script>
 
 <template>