Skip to content

fix: 打印事件不需要 toValue 取值 #44

fix: 打印事件不需要 toValue 取值

fix: 打印事件不需要 toValue 取值 #44

Triggered via push November 20, 2024 17:25
Status Failure
Total duration 44s
Artifacts

release.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
Release: src/components/vue-to-print/VueToPrint.vue#L10
Argument of type 'ToRefs<LooseRequired<{ readonly onBeforeGetContent: () => void | Promise<void>; readonly onBeforePrint: () => void | Promise<void>; readonly print: (target: HTMLIFrameElement) => Promise<...>; ... 11 more ...; readonly contextSlots?: VueToPrintSlots | undefined; } & {}>>' is not assignable to parameter of type 'PublicUseVueToPrintProps'.
Release: src/components/vue-to-print/VueToPrint.vue#L10
Argument of type 'ToRefs<LooseRequired<{ readonly onBeforeGetContent: () => void | Promise<void>; readonly onBeforePrint: () => void | Promise<void>; readonly print: (target: HTMLIFrameElement) => Promise<...>; ... 11 more ...; readonly contextSlots?: VueToPrintSlots | undefined; } & {}>>' is not assignable to parameter of type 'PublicUseVueToPrintProps'.
Release: src/components/vue-to-print/VueToPrint.vue#L10
Argument of type 'ToRefs<LooseRequired<{ readonly onBeforeGetContent: () => void | Promise<void>; readonly onBeforePrint: () => void | Promise<void>; readonly print: (target: HTMLIFrameElement) => Promise<...>; ... 11 more ...; readonly contextSlots?: VueToPrintSlots | undefined; } & {}>>' is not assignable to parameter of type 'PublicUseVueToPrintProps'.
Release
Process completed with exit code 1.
Release
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/