From c7a584e394f071d189bd4bfeb97816725de0e694 Mon Sep 17 00:00:00 2001 From: nekosu Date: Tue, 15 Aug 2023 13:51:48 +0800 Subject: [PATCH] feat: finish validator --- .../components/task/SingleNavigateEdit.vue | 2 + .../client/src/components/task/TargetEdit.vue | 2 +- .../src/components/task/ValidateTask.vue | 429 +------------- packages/client/src/data/index.ts | 1 + packages/client/src/data/validator.ts | 532 ++++++++++++++++++ packages/client/src/views/EditView.vue | 17 +- 6 files changed, 568 insertions(+), 415 deletions(-) create mode 100644 packages/client/src/data/validator.ts diff --git a/packages/client/src/components/task/SingleNavigateEdit.vue b/packages/client/src/components/task/SingleNavigateEdit.vue index abce04a..5c64756 100644 --- a/packages/client/src/components/task/SingleNavigateEdit.vue +++ b/packages/client/src/components/task/SingleNavigateEdit.vue @@ -60,7 +60,9 @@ const options = computed(() => {