95f2cf91 by lttnew

节点组成显示

1 parent 07e70c68
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
17 "@jiaminghi/data-view": "^2.10.0", 17 "@jiaminghi/data-view": "^2.10.0",
18 "@tsparticles/vue3": "^3.0.1", 18 "@tsparticles/vue3": "^3.0.1",
19 "@videojs-player/vue": "^1.0.0", 19 "@videojs-player/vue": "^1.0.0",
20 "video.js": "^8.24.0",
20 "@vueup/vue-quill": "1.1.1", 21 "@vueup/vue-quill": "1.1.1",
21 "@vueuse/core": "^10.1.2", 22 "@vueuse/core": "^10.1.2",
22 "axios": "0.27.2", 23 "axios": "0.27.2",
......
...@@ -131,7 +131,7 @@ const sBase = computed(() => props.sBase) ...@@ -131,7 +131,7 @@ const sBase = computed(() => props.sBase)
131 watch(() => props.historyDate,(newVal) => { 131 watch(() => props.historyDate,(newVal) => {
132 if (isMounted.value) { 132 if (isMounted.value) {
133 nowYear.value = parseInt(newVal.substring(0,4)) 133 nowYear.value = parseInt(newVal.substring(0,4))
134 nowMonth.value = parseInt(newVal.substring(6,7)) 134 nowMonth.value = parseInt(newVal.split('-')[1])
135 Year1.value = parseInt(hDate.value.substring(0,4)) - 1 135 Year1.value = parseInt(hDate.value.substring(0,4)) - 1
136 Year1.value = parseInt(hDate.value.substring(0,4)) - 1 136 Year1.value = parseInt(hDate.value.substring(0,4)) - 1
137 Year2.value = parseInt(hDate.value.substring(0,4)) 137 Year2.value = parseInt(hDate.value.substring(0,4))
...@@ -259,7 +259,7 @@ const type8 = ref(0) ...@@ -259,7 +259,7 @@ const type8 = ref(0)
259 const month8 = ref([]) 259 const month8 = ref([])
260 const year8 = ref([]) 260 const year8 = ref([])
261 let nowYear = ref(parseInt(hDate.value.substring(0,4))) 261 let nowYear = ref(parseInt(hDate.value.substring(0,4)))
262 let nowMonth = ref(parseInt(hDate.value.substring(6,7))) 262 let nowMonth = ref(parseInt(hDate.value.split('-')[1]))
263 let tMonth = ref(0) 263 let tMonth = ref(0)
264 const list8 = ref([ 264 const list8 = ref([
265 { 265 {
...@@ -387,7 +387,8 @@ const init = () => { ...@@ -387,7 +387,8 @@ const init = () => {
387 if (intervalA) { 387 if (intervalA) {
388 clearInterval(intervalA); 388 clearInterval(intervalA);
389 } 389 }
390 intervalA = setInterval(getdata(), 1000 * 60 * 60); 390 getdata()
391 intervalA = setInterval(getdata, 1000 * 60 * 60);
391 } 392 }
392 393
393 async function handelGetYS006() { 394 async function handelGetYS006() {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!