@vtx/modals2 6.0.0-beta.18 → 6.0.0-beta.19

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.
@@ -144,7 +144,7 @@ var VtxCarModal = function VtxCarModal(props) {
144
144
  showFields = _BaseService$useField.showFields;
145
145
  var code = useMemo(function () {
146
146
  var code = '';
147
- var actionType = 'ACTION_LJZY' || (info === null || info === void 0 ? void 0 : info.actionType);
147
+ var actionType = info === null || info === void 0 ? void 0 : info.actionType;
148
148
  if (defaultCode) {
149
149
  code = defaultCode;
150
150
  } else if (actionType && !defaultCode) {
@@ -166,8 +166,9 @@ var VtxCarModal = function VtxCarModal(props) {
166
166
  }, [defaultCode, info === null || info === void 0 ? void 0 : info.actionType]);
167
167
  var tabs = useMemo(function () {
168
168
  var tabs = [];
169
- // const { actionType = '' } = info || {};
170
- var actionType = 'ACTION_LJZY';
169
+ var _ref = info || {},
170
+ _ref$actionType = _ref.actionType,
171
+ actionType = _ref$actionType === void 0 ? '' : _ref$actionType;
171
172
  if (!actionType) {
172
173
  return [];
173
174
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtx/modals2",
3
- "version": "6.0.0-beta.18",
3
+ "version": "6.0.0-beta.19",
4
4
  "description": "弹窗组件",
5
5
  "license": "MIT",
6
6
  "module": "lib/index.js",