Skip to content

在axios拦截器里使用message、notification等API,无法使用config provider定义的主题 #7768

@jiangyong1998

Description

@jiangyong1998
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.2.3

Environment

"vue": "^3.4.29"

Reproduction link

Steps to reproduce

使用app组件包裹应用,基础用法和全局场景 (pinia 场景)都尝试过

What is expected?

可以正常显示

What is actually happening?

报错:useGlobalStore(...).message?.success is not a function

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions