@pisell/private-materials 3.0.65 → 3.0.66
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/booking/info/service/addService/utils.js +2 -2
- package/lib/components/booking/info/service/addService/utils.js +2 -2
- package/package.json +2 -2
|
@@ -181,8 +181,8 @@ export var checkCacheItemResource = function checkCacheItemResource(_ref5) {
|
|
|
181
181
|
}
|
|
182
182
|
} else {
|
|
183
183
|
if (cacheItem.new) {
|
|
184
|
-
if (resources.length
|
|
185
|
-
resourceId = resources[1].form_record_id;
|
|
184
|
+
if (resources.length <= 2) {
|
|
185
|
+
resourceId = resources[resources.length - 1].form_record_id;
|
|
186
186
|
}
|
|
187
187
|
if (resources.length > 2) {
|
|
188
188
|
var usableList = resources.filter(function (d) {
|
|
@@ -163,8 +163,8 @@ var checkCacheItemResource = ({ cacheItem, resources }) => {
|
|
|
163
163
|
}
|
|
164
164
|
} else {
|
|
165
165
|
if (cacheItem.new) {
|
|
166
|
-
if (resources.length
|
|
167
|
-
resourceId = resources[1].form_record_id;
|
|
166
|
+
if (resources.length <= 2) {
|
|
167
|
+
resourceId = resources[resources.length - 1].form_record_id;
|
|
168
168
|
}
|
|
169
169
|
if (resources.length > 2) {
|
|
170
170
|
const usableList = resources.filter(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.66",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"ahooks": "^3.7.6",
|
|
59
59
|
"react-infinite-scroll-component": "^6.1.0",
|
|
60
60
|
"rc-virtual-list": "^3.11.3",
|
|
61
|
-
"@pisell/icon": "0.0.8",
|
|
62
61
|
"@pisell/utils": "1.0.24",
|
|
62
|
+
"@pisell/icon": "0.0.8",
|
|
63
63
|
"@pisell/date-picker": "1.0.69"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|