react-ui
react-ui copied to clipboard
A collection of components for React, base on bootstrap 4.0.
Hello 👋 I run a security community that finds and fixes vulnerabilities in OSS. A researcher (@whokilleddb) has found a potential issue, which I would be eager to share with...
直接在页面中如下引入 import { Modal } from 'rctui'; webpack报错很多下面为部分内容 ``` ERROR in ./node_modules/rctui/Datepicker/Datetime.js Module parse failed: /Users/rox/Desktop/xstar-center-fe/node_modules/rctui/Datepicker/Datetime.js Unexpected token (205:6) You may need an appropriate loader to handle this file type....
案例1(正常,最小可选日期是2018-08-12): 案例2(异常,最小可选日期是2018-08-11): 以上2个按钮 《案例1》是正常的,最小可选日期是2018-08-12,因为11:00:00时间上小于12:00:00; 《案例2》同样的配置,只是值不同,它的最小可选日期就变成2018-08-11了,因为15:00:00时间上大于12:00:00; 问题应该是出在Datetime.js的renderDays方法不应该拿current的时间去比较min值,当尝试把hour、minute、second全部用0时,又出现了value是min当天时,时间选择可能会比min时间小的情况。 =====Datetime.js===== let hour = current.getHours() let minute = current.getMinutes() let second = current.getSeconds() ...... for (let date, i = 0; i < end; i++)...
如何点击某条记录时,此条记录颜色变成选中色?点击记录事件中并绑定用户后续处理
`` ./utils/validation.js 验证逻辑有问题 这里 valueType === "string" switch (valueType) { case 'array': len = toArray(value, sep).length break case 'number': len = parseFloat(value) break default: len = value.length break } if...
“Checkbox isIndicator “使用后,页面上点击没有反应,为什么?
table组件使用fetch参数是可以得到数据,但我的分页数据每次都是从后台取,而不是一次性取出来,这个怎么处理?
Otherwise I have to write an exception for it in my webpack configuration, which is too much work.