Skip to content

[Bug Report] 防止在某些场景中将参数转换为 Vue 的代理对象 #251

Open
@amipei

Description

@amipei

复现步骤:
const service = ?(某些worker接口)
const { run, data, total } = usePagination(service, {
defaultParams: [{ x: 100 }],
});
如果service 是 worker/ipc(electron)接口则会报错,因为proxy对象并不能被序列化

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions