@pisell/materials 6.8.5 → 6.8.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/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 +2 -2
- package/build/lowcode/view.js +2 -2
- package/es/components/PisellTabbar/components/TabbarLevel.js +6 -6
- package/lib/components/PisellTabbar/components/TabbarLevel.js +0 -6
- package/package.json +3 -3
|
@@ -200,9 +200,9 @@ var TabbarLevel = /*#__PURE__*/memo(function (props) {
|
|
|
200
200
|
if (itemData !== null && itemData !== void 0 && itemData.customClick) {
|
|
201
201
|
return /*#__PURE__*/React.createElement(PisellCards.MultilevelCard, _extends({}, itemProps, {
|
|
202
202
|
card: function card(cardProps) {
|
|
203
|
-
if (level === 'level1') {
|
|
204
|
-
|
|
205
|
-
}
|
|
203
|
+
// if (level === 'level1') {
|
|
204
|
+
// return renderLevel1Card(cardProps);
|
|
205
|
+
// }
|
|
206
206
|
return renderLevelNCard(cardProps);
|
|
207
207
|
},
|
|
208
208
|
onClick: handleExpand
|
|
@@ -212,9 +212,9 @@ var TabbarLevel = /*#__PURE__*/memo(function (props) {
|
|
|
212
212
|
// 普通项
|
|
213
213
|
return /*#__PURE__*/React.createElement(PisellCards.MultilevelCard, _extends({}, itemProps, {
|
|
214
214
|
card: function card(cardProps) {
|
|
215
|
-
if (level === 'level1') {
|
|
216
|
-
|
|
217
|
-
}
|
|
215
|
+
// if (level === 'level1') {
|
|
216
|
+
// return renderLevel1NormalCard(cardProps);
|
|
217
|
+
// }
|
|
218
218
|
return renderLevelNNormalCard(cardProps);
|
|
219
219
|
},
|
|
220
220
|
panel: function panel(panelProps) {
|
|
@@ -227,9 +227,6 @@ var TabbarLevel = (0, import_react.memo)((props) => {
|
|
|
227
227
|
{
|
|
228
228
|
...itemProps,
|
|
229
229
|
card: (cardProps) => {
|
|
230
|
-
if (level === "level1") {
|
|
231
|
-
return renderLevel1Card(cardProps);
|
|
232
|
-
}
|
|
233
230
|
return renderLevelNCard(cardProps);
|
|
234
231
|
},
|
|
235
232
|
onClick: handleExpand
|
|
@@ -241,9 +238,6 @@ var TabbarLevel = (0, import_react.memo)((props) => {
|
|
|
241
238
|
{
|
|
242
239
|
...itemProps,
|
|
243
240
|
card: (cardProps) => {
|
|
244
|
-
if (level === "level1") {
|
|
245
|
-
return renderLevel1NormalCard(cardProps);
|
|
246
|
-
}
|
|
247
241
|
return renderLevelNNormalCard(cardProps);
|
|
248
242
|
},
|
|
249
243
|
panel: (panelProps) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.6",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
"antd-mobile": "^5.38.1",
|
|
80
80
|
"vod-js-sdk-v6": "^1.4.11",
|
|
81
81
|
"@pisell/icon": "0.0.11",
|
|
82
|
-
"@pisell/
|
|
83
|
-
"@pisell/
|
|
82
|
+
"@pisell/utils": "3.0.2",
|
|
83
|
+
"@pisell/date-picker": "3.0.7"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
86
|
"react": "^18.0.0",
|