jiaqidegege
jiaqidegege
When a validator function return "un-strict" boolean value(like `0`, `1`), the result promise will be pending forever. This issue make me stuck for hours. I think it will help people...
Bug Type: **`Component`** ## Environment - Vue Version: `3.2.33` - Element Plus Version: `2.2.12` - Browser / OS: `Chrome/100.0.4896.127/ MacOS 10.15.7` - Build Tool: `Vite` ## Reproduction ### Related Component...
### 这个功能解决了什么问题? 需要自定义loading的图标,以契合项目设计风格 ### 你期望的 API 是什么样子的? ```xml ``` ```javascript Toast.loading({ icon: 'https://fastly.jsdelivr.net/npm/@vant/assets/logo.png', }); ```
对于那些不会扁平化依赖的包管理工具,比如pnpm,npm构建后不会包含上面两个依赖