From 6ced0e5e43cb7bd25c5ad99cde99fbd006809786 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Fri, 27 Oct 2023 12:26:33 +0800 Subject: [PATCH] chore: --- packages/ui/certd-client/src/views/certd/pipeline/detail.vue | 2 +- .../pipeline/pipeline/component/output-selector/index.vue | 4 ++-- .../certd-client/src/views/certd/pipeline/pipeline/index.vue | 2 +- .../ui/certd-client/src/views/framework/register/index.vue | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/ui/certd-client/src/views/certd/pipeline/detail.vue b/packages/ui/certd-client/src/views/certd/pipeline/detail.vue index 03c7cf2ea..868148af4 100644 --- a/packages/ui/certd-client/src/views/certd/pipeline/detail.vue +++ b/packages/ui/certd-client/src/views/certd/pipeline/detail.vue @@ -18,7 +18,7 @@ export default defineComponent({ components: { PipelineEdit }, setup() { const route = useRoute(); - const pipelineId = ref(route.query.id); + const pipelineId:Ref = ref(route.query.id); const pipelineOptions: PipelineOptions = { async getPipelineDetail({ pipelineId }) { diff --git a/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/output-selector/index.vue b/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/output-selector/index.vue index fbef2421f..9c6c27646 100644 --- a/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/output-selector/index.vue +++ b/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/output-selector/index.vue @@ -15,7 +15,7 @@ export default { } }, emits: ["update:modelValue"], - setup(props, ctx) { + setup(props:any, ctx:any) { const options = ref([]); const pipeline = inject("pipeline") as Ref; @@ -47,7 +47,7 @@ export default { } ); - function onChanged(value) { + function onChanged(value:any) { ctx.emit("update:modelValue", value); } return { diff --git a/packages/ui/certd-client/src/views/certd/pipeline/pipeline/index.vue b/packages/ui/certd-client/src/views/certd/pipeline/pipeline/index.vue index 6e7f7b1b5..896ebee3d 100644 --- a/packages/ui/certd-client/src/views/certd/pipeline/pipeline/index.vue +++ b/packages/ui/certd-client/src/views/certd/pipeline/pipeline/index.vue @@ -194,7 +194,7 @@ - + diff --git a/packages/ui/certd-client/src/views/framework/register/index.vue b/packages/ui/certd-client/src/views/framework/register/index.vue index cb88f8df5..c8fd62110 100644 --- a/packages/ui/certd-client/src/views/framework/register/index.vue +++ b/packages/ui/certd-client/src/views/framework/register/index.vue @@ -87,7 +87,7 @@ export default defineComponent({ toRaw({ password: formState.password, username: formState.username - }) + }) as any ); };