首页完成

This commit is contained in:
2026-09-21 16:14:11 +08:00
parent c679642c40
commit 67c9090827
7 changed files with 448 additions and 362 deletions
+5 -5
View File
@@ -374,8 +374,11 @@ const getConfig = async () => {
loading.value = false;
}
onMounted(async () => {
if(route.query && route.query.id){
onMounted(() => {
if(route.query){
if(route.query.key){
backKey.value = route.query.key.toString();
}
if(route.query.id){
currentId.value = Number(route.query.id);
getConfig();
@@ -383,9 +386,6 @@ onMounted(async () => {
if(route.query.status){
currentStatus.value = route.query.status.toString();
}
if(route.query.key){
backKey.value = route.query.key.toString();
}
}
})
</script>