yarnb

Results 17 issues of yarnb

/usr/local/lib/node_modules/wepy-cli/lib/web/index.js:354 wpys.forEach(function (wpy, i) { ^ TypeError: wpys.forEach is not a function at Object.compile (/usr/local/lib/node_modules/wepy-cli/lib/web/index.js:354:14) at /usr/local/lib/node_modules/wepy-cli/lib/web/index.js:235:34 at Array.forEach () at Object.toWeb (/usr/local/lib/node_modules/wepy-cli/lib/web/index.js:227:28) at /usr/local/lib/node_modules/wepy-cli/lib/compile.js:364:37 at Array.forEach () at Object.build...

提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🔩 所属模块或组件 Form ### 🥰 需求描述 需要一个参数来控制重置的延迟时间 ### ⛰ 功能需求适用场景 当 Drawer or Modal Form 关闭弹窗时候会有几百毫秒的关闭动效,希望在完全关闭后进行重置,这样就避免出现完全关闭前表单数据改动的情况 ### 🧐 解决方案 提供 delayResetFormTime 参数,Layouts Form 提供默认参数 ### 🚑 其他信息

form
🎖️ featrue

提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🔩 所属模块或组件 Form ### 🥰 需求描述 有些组件希望放置在容器内,而不是其 Form 内,比如另一个 Form,否则会出现表单嵌套警告 ### ⛰ 功能需求适用场景 ### 🧐 解决方案 bottom 则是在 Drawer 的底下,top 同理 ![image](https://user-images.githubusercontent.com/37258382/182428108-35179f56-fdc2-43cf-8efc-42585444e3f0.png) ```tsx ``` or ```tsx ...}>...

提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🐛 bug 描述 如果通过 Form.useForm 传递了 form,那么 destroyOnClose 关闭自动重置表单就失效了 ### 📷 复现步骤 https://codesandbox.io/s/drawer-biao-dan-forked-zbryyu?file=/App.tsx ### 🏞 期望结果 ### 💻 复现代码 ### © 版本信息 - ProComponents 版本: [e.g. 4.0.0]...

提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🐛 bug 描述 autoFocusFirstInput 期望是打开 modal 的时候,自动聚焦首个 input,首次打开正常,关闭后再打开就失效了 ### 📷 复现步骤 ModalForm 设置 autoFocusFirstInput https://codesandbox.io/s/modal-biao-dan-forked-51d31q?file=/App.tsx ### 🏞 期望结果 打开正常聚焦首个 input ### 💻 复现代码 ### © 版本信息 -...

## What happens? 接口返回 504,定义了 errorHandler 会继续抛异常出来,我必须在 request 后手动 catch 住才行 ## Mini Showcase Repository(REQUIRED) > Please provide a [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) then upload to your GitHub. 请提供 [最小重现](https://stackoverflow.com/help/minimal-reproducible-example),并上传到你的 GitHub 仓库...

## What happens? 在 model 定义里如果出现 useSearchParams 会导致 useModel 它时第二个参数的 model 短暂为空 ![image](https://user-images.githubusercontent.com/37258382/179018047-d0c17d8a-b415-4517-9e73-d1c048931ac0.png) ## Mini Showcase Repository(REQUIRED) > Please provide a [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) then upload to your GitHub. 请提供 [最小重现](https://stackoverflow.com/help/minimal-reproducible-example),并上传到你的...

type(bug)

### 🖋 Description 列头可以通过拖动交互移动所在表格列前后位置 ### 🏞 What problem does this feature solve 更加易用和美观 ### 🧐 Suggest the API | name | type | default | description | |----|----|----|----| | -...

🙏feature request
pivot sheet
💤 inactive

### Question 我测试了一下,如果继承来自 node_modules 中,页面会渲染成接口,如果是仓库内的其他包就不会,这个规则对吗,可以在哪里修改吗 ### Sample Code 不会渲染 ```ts import { PageWrapper, PageWrapperProps } from '@ty-bct-modules/utils'; interface SwapBookingPageProps extends PageWrapperProps { /** * @description 设置当前页面 path * @default /swap-underlying-instrument-valuation-list-page...

question

准备实现一个 validate 静默版本 ```js const fieldsProps = columns .map(item => { return item.dataIndex; }) .reduce((obj, dataIndex) => { obj[dataIndex] = this.props.form.getFieldProps(dataIndex); // 这里 getFieldProps 应该使用方法是不对的,就是想获取 rules 等信息 return obj; },...