Skip to content

最新wujie-vue3问题 #1107

Closed
Closed

Description

@gf18288275856

wujie-vue3
refreshApp和clearAssetsCache均报错,不可用

Activity

  1. yiludege commented on Nov 13, 2026

    @yiludege
    Collaborator

    clearAssetsCache:已发布的 wujie-vue2 / wujie-vue3 / wujie-react@2.1.0 没有从组件上导出它,按文档 const { clearAssetsCache } = WujieVue 解构会得到 undefined。已在 #1113 修复,随下个版本发布。

    发版前可以直接从 wujie 引入。需要把 wujie 装成项目的直接依赖,并且版本与封装组件一致(当前为 2.1.0),这样打包后与组件使用的是同一份 wujie:

    npm i wujie@2.1.0
    import { clearAssetsCache } from "wujie";

    refreshApp:wujie-vue3@2.1.0 上 WujieVue.refreshApp 是存在的。如果仍然报错,请补充安装的准确版本、调用代码和完整报错堆栈,方便定位。

  2. yiludege commented on Nov 14, 2026

    @yiludege
    Collaborator

    关闭这条。相关修复已合入 master,会随下个版本发布;发布前可按上面的说明,从直接依赖的 wujie@2.1.0 中引入。升级后如果仍有问题,请附上版本号和报错信息重新打开。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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