6/16代码提交

This commit is contained in:
luoshiwen 2025-06-16 10:56:07 +08:00
parent bea2c99871
commit 050b7e27ef
4 changed files with 16 additions and 13 deletions

14
package-lock.json generated
View File

@ -14,7 +14,7 @@
"less": "^4.2.0",
"moment": "^2.30.1",
"three": "^0.164.1",
"uuid": "^11.0.4",
"uuid": "^11.0.5",
"vue": "^3.3.4",
"vue-router": "^4.2.5"
},
@ -1392,9 +1392,9 @@
"integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
},
"node_modules/uuid": {
"version": "11.0.4",
"resolved": "https://registry.npmmirror.com/uuid/-/uuid-11.0.4.tgz",
"integrity": "sha512-IzL6VtTTYcAhA/oghbFJ1Dkmqev+FpQWnCBaKq/gUluLxliWvO8DPFWfIviRmYbtaavtSQe4WBL++rFjdcGWEg==",
"version": "11.0.5",
"resolved": "https://registry.npmmirror.com/uuid/-/uuid-11.0.5.tgz",
"integrity": "sha512-508e6IcKLrhxKdBbcA2b4KQZlLVp2+J5UwQ6F7Drckkc5N9ZJwFa4TgWtsww9UG8fGHbm6gbV19TdM5pQ4GaIA==",
"funding": [
"https://github.com/sponsors/broofa",
"https://github.com/sponsors/ctavan"
@ -2388,9 +2388,9 @@
"integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
},
"uuid": {
"version": "11.0.4",
"resolved": "https://registry.npmmirror.com/uuid/-/uuid-11.0.4.tgz",
"integrity": "sha512-IzL6VtTTYcAhA/oghbFJ1Dkmqev+FpQWnCBaKq/gUluLxliWvO8DPFWfIviRmYbtaavtSQe4WBL++rFjdcGWEg=="
"version": "11.0.5",
"resolved": "https://registry.npmmirror.com/uuid/-/uuid-11.0.5.tgz",
"integrity": "sha512-508e6IcKLrhxKdBbcA2b4KQZlLVp2+J5UwQ6F7Drckkc5N9ZJwFa4TgWtsww9UG8fGHbm6gbV19TdM5pQ4GaIA=="
},
"vite": {
"version": "4.4.11",

View File

@ -15,7 +15,7 @@
"less": "^4.2.0",
"moment": "^2.30.1",
"three": "^0.164.1",
"uuid": "^11.0.4",
"uuid": "^11.0.5",
"vue": "^3.3.4",
"vue-router": "^4.2.5"
},

View File

@ -801,19 +801,20 @@ function getKeywordData() {
}
//
function preClick() {
scheduleIndex.value--;
if (scheduleIndex.value < 0) {
if (scheduleIndex.value == 0) {
// scheduleIndex.value = schedule.value.length - 1;
return;
}
scheduleIndex.value--;
xVal.value = -(100 / 3) * scheduleIndex.value + "%";
}
//
function nextClick() {
scheduleIndex.value++;
if (scheduleIndex.value === schedule.value.length) {
if (scheduleIndex.value === schedule.value.length - 1) {
return;
}
scheduleIndex.value++;
xVal.value = -(100 / 3) * scheduleIndex.value + "%";
}
//
@ -825,6 +826,7 @@ const handleTimer = reactive({
timer5: null,
});
onUnmounted(() => {
console.log('onUnmounted');
//
clearTimeout(handleTimer.timer1);
clearTimeout(handleTimer.timer2);

View File

@ -31,7 +31,8 @@ export default defineConfig({
rewrite: (path) => path.replace('/api', '')
},
'/aps': {
target: 'http://192.168.17.4:8001/',
// target: 'http://192.168.17.4:8001/',
target: 'http://172.16.1.253:8111',
changeOrigin: true, //是否跨域
rewrite: (path) => path.replace('/aps', '')
},