pull/68/head
xiaojunnuo 2023-10-27 12:26:33 +08:00
parent e36518dbe5
commit 6ced0e5e43
4 changed files with 5 additions and 5 deletions

View File

@ -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 }) {

View File

@ -15,7 +15,7 @@ export default {
}
},
emits: ["update:modelValue"],
setup(props, ctx) {
setup(props:any, ctx:any) {
const options = ref<any[]>([]);
const pipeline = inject("pipeline") as Ref<any>;
@ -47,7 +47,7 @@ export default {
}
);
function onChanged(value) {
function onChanged(value:any) {
ctx.emit("update:modelValue", value);
}
return {

View File

@ -194,7 +194,7 @@
<pi-task-form ref="taskFormRef" :edit-mode="editMode"></pi-task-form>
<pi-trigger-form ref="triggerFormRef" :edit-mode="editMode"></pi-trigger-form>
<pi-task-view ref="taskViewRef"></pi-task-view>
<pi-task-view :ref="taskViewRef"></pi-task-view>
<PiNotificationForm ref="notificationFormRef" :edit-mode="editMode"></PiNotificationForm>
</fs-page>
</template>

View File

@ -87,7 +87,7 @@ export default defineComponent({
toRaw({
password: formState.password,
username: formState.username
})
}) as any
);
};