mirror of
https://github.com/certd/certd.git
synced 2026-04-24 12:27:25 +08:00
chore:
This commit is contained in:
@@ -18,7 +18,7 @@ export default defineComponent({
|
|||||||
components: { PipelineEdit },
|
components: { PipelineEdit },
|
||||||
setup() {
|
setup() {
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
const pipelineId = ref(route.query.id);
|
const pipelineId:Ref = ref(route.query.id);
|
||||||
|
|
||||||
const pipelineOptions: PipelineOptions = {
|
const pipelineOptions: PipelineOptions = {
|
||||||
async getPipelineDetail({ pipelineId }) {
|
async getPipelineDetail({ pipelineId }) {
|
||||||
|
|||||||
+2
-2
@@ -15,7 +15,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
emits: ["update:modelValue"],
|
emits: ["update:modelValue"],
|
||||||
setup(props, ctx) {
|
setup(props:any, ctx:any) {
|
||||||
const options = ref<any[]>([]);
|
const options = ref<any[]>([]);
|
||||||
|
|
||||||
const pipeline = inject("pipeline") as 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);
|
ctx.emit("update:modelValue", value);
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -194,7 +194,7 @@
|
|||||||
|
|
||||||
<pi-task-form ref="taskFormRef" :edit-mode="editMode"></pi-task-form>
|
<pi-task-form ref="taskFormRef" :edit-mode="editMode"></pi-task-form>
|
||||||
<pi-trigger-form ref="triggerFormRef" :edit-mode="editMode"></pi-trigger-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>
|
<PiNotificationForm ref="notificationFormRef" :edit-mode="editMode"></PiNotificationForm>
|
||||||
</fs-page>
|
</fs-page>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ export default defineComponent({
|
|||||||
toRaw({
|
toRaw({
|
||||||
password: formState.password,
|
password: formState.password,
|
||||||
username: formState.username
|
username: formState.username
|
||||||
})
|
}) as any
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user