refactor: 优化非 CRUD 代码可读性

This commit is contained in:
Ray.Hao
2026-05-26 19:53:23 +08:00
parent 2a538d7da7
commit bd4413b9f0
11 changed files with 89 additions and 52 deletions

View File

@@ -12,5 +12,3 @@ import { useRoute } from "vue-router";
// 获取query参数
const query = useRoute().query.type as string;
</script>
<style lang="scss" scoped></style>

View File

@@ -623,5 +623,3 @@ const curd = {
},
};
</script>
<style scoped></style>

View File

@@ -1010,5 +1010,3 @@ onMounted(() => {
fetchPlanOptions();
});
</script>
<style scoped lang="scss"></style>

View File

@@ -495,5 +495,3 @@ onMounted(() => {
fetchData();
});
</script>
<style scoped lang="scss"></style>

View File

@@ -528,5 +528,3 @@ onMounted(() => {
handleQuery();
});
</script>
<style scoped lang="scss"></style>