leihaohao
leihaohao
### Clear and concise description of the problem 我在项目中的 `config.ts` 里面定义了些复杂变量,使用 `unplugin-auto-import` 配置自动导入希望让其携带 `assert {type:'macro'},编译时可以让 `unplugin-macros` 将其处理成静态变量免去运行时开销。 示例代码(示例可能不准确,但大致如此): ```ts // config.ts function createOptions() { // ... } export const userOptions=...
https://github.com/x-extends/xe-utils/blob/468a6dc2d6ecc1b5f1aa9a7b3758307844fec664/func/toArrayTree.js#L15
### Environment - [email protected] - [email protected] ### Reproduction https://codesandbox.io/p/sandbox/practical-morning-xt228v?file=%2Fdist%2Findex.mjs%3A1%2C1 ### Describe the bug When entries is of type mkdist, alias builds are invalid. ### Additional context _No response_ ### Logs...
`checkedImg` 函数内部解析与 `props.img` 定义不匹配。 https://github.com/xyxiao001/vue-cropper/blob/5df6b2a04107d13e455bd0e4bd9f09f6af3a1d47/src/vue-cropper.vue#L186 https://github.com/xyxiao001/vue-cropper/blob/5df6b2a04107d13e455bd0e4bd9f09f6af3a1d47/src/vue-cropper.vue#L593
https://github.com/toss/es-toolkit/blob/d8d390f798472a2bc91e9c4cf56acd08542ab4e5/src/string/deburr.ts#L1 Variables defined in the top-level scope of the current module are not being tree-shaken correctly due to the use of `Object.entries` internally. It is suggested to add `/* #__PURE__...
### 这个功能解决了什么问题? 页面卡片列表会存在底部操作栏,BackTop 显示后容易遮挡操作按钮,期望能提供配置项开启类似于悬浮气泡的拖拽功能。 ### 你期望的 API 是什么样子的? ```html ```
Bug Type: **`Component`** ## Environment - Vue Version: `3.5.24` - Element Plus Version: `2.11.8` - Browser / OS: `Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0` -...
Bug Type: **`Component`** ## Environment - Vue Version: `3.5.25` - Element Plus Version: `2.11.9` - Browser / OS: `Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0` -...
Bug Type: **`Style`** ## Environment - Vue Version: `3.5.24` - Element Plus Version: `2.11.8` - Browser / OS: `Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0` -...
### Describe the bug In [the source code](https://github.com/vueuse/vueuse/blob/5628bdb05c18590bb500cc581a4ab1e1b05357a8/packages/core/useAsyncState/index.ts#L138), state.value is returned every time after execute() is executed. However, if execute() is called multiple consecutive times, the .then() of the non-last...