@chenzoho/vue-axios
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

通知组件

安装

pnpm install axios
pnpm install qs
pnpm install xe-utils
pnpm install @chenzoho/cache
pnpm install @chenzoho/vue-mitt
pnpm install @chenzoho/vue-notify
pnpm install @chenzoho/axios

注册

const { setMessage, setModal, setNotify } = useNotifyContext()

setMessage(/** message */)

setModal(/** modal */)

setNotify(/** notify */)

使用

const { message, modal, notify } = useNotifybackHooks()

message.success(/** message */)

modal.success(/** message */)

notify.success(/** message */)

更新记录

  • 1.0.7
    • 修改了isTransformResponse

Readme

Keywords

Package Sidebar

Install

npm i @chenzoho/vue-axios

Weekly Downloads

1

Version

1.0.8

License

MIT

Unpacked Size

116 kB

Total Files

20

Last publish

Collaborators

  • dingyy
  • chenzehong