@nutui/nutui-react-taro 2.3.6-beta.0 → 2.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/esm/CalendarCard.js +1 -1
- package/dist/esm/Form.js +2 -1245
- package/dist/esm/FormItem.js +1 -1
- package/dist/esm/{calendarcard.taro-QStCLFET.js → calendarcard.taro-tY-cyh-F.js} +2 -2
- package/dist/esm/formitem.taro-atY4A0pS.js +1406 -0
- package/dist/esm/nutui-react.es.js +2 -2
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/id-ID.js +1 -1
- package/dist/locales/tr-TR.js +1 -1
- package/dist/locales/zh-CN.js +1 -1
- package/dist/locales/zh-TW.js +1 -1
- package/dist/locales/zh-UG.js +1 -1
- package/dist/nutui.react.es.js +39 -37
- package/dist/nutui.react.umd.js +39 -37
- package/dist/style.mjs +1 -1
- package/package.json +2 -2
- package/dist/esm/formitem.taro-4ofczzxA.js +0 -165
package/dist/esm/FormItem.js
CHANGED
|
@@ -185,8 +185,8 @@ const CalendarCard = React__default.forwardRef((props, ref) => {
|
|
|
185
185
|
};
|
|
186
186
|
const isActive = (day) => {
|
|
187
187
|
if (type === "single" || type === "multiple") {
|
|
188
|
-
for (const val
|
|
189
|
-
if (isSameDay(day, val)) {
|
|
188
|
+
for (const val in innerValue) {
|
|
189
|
+
if (isSameDay(day, innerValue[val])) {
|
|
190
190
|
return true;
|
|
191
191
|
}
|
|
192
192
|
}
|