cnhis-design-vue 3.1.18-beta.14 → 3.1.18-beta.15

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.
@@ -1317,7 +1317,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
1317
1317
  updateAddCheckedRows(row);
1318
1318
  };
1319
1319
  const handlerClickRow = (data) => {
1320
- var _a;
1320
+ var _a, _b;
1321
1321
  let {
1322
1322
  row,
1323
1323
  $event = {},
@@ -1327,6 +1327,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
1327
1327
  if (((_a = attr.checkboxConfig) == null ? void 0 : _a.noTriggerCellClick) && triggerCheckbox) {
1328
1328
  return false;
1329
1329
  }
1330
+ if (((_b = attr.checkboxConfig) == null ? void 0 : _b.trigger) === "default") {
1331
+ emit("handlerClickRow", row, $rowIndex);
1332
+ return false;
1333
+ }
1330
1334
  if (isScanMultiTable.value || props.isInlineOperating)
1331
1335
  return false;
1332
1336
  if (XEUtils.has(data == null ? void 0 : data.row, GROUP_TITLE_KEY))
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, createVNode, mergeProps } from 'vue';
1
+ import { defineComponent, ref, watch, createVNode, mergeProps } from 'vue';
2
2
  import { NInput, NInputNumber } from 'naive-ui';
3
3
  import { useCommon } from './useCommon2.js';
4
4
 
@@ -56,6 +56,9 @@ var EditInput = defineComponent({
56
56
  placeholder: props.col.placeholder || "\u8BF7\u8F93\u5165",
57
57
  ...props.col.componentProps || {}
58
58
  };
59
+ watch(() => attrs.value, (value) => {
60
+ __value.value = value;
61
+ });
59
62
  return () => props.type === "input" ? createVNode(NInput, mergeProps({
60
63
  "ref": formRef
61
64
  }, attrs, config, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "3.1.18-beta.14",
3
+ "version": "3.1.18-beta.15",
4
4
  "license": "ISC",
5
5
  "module": "./es/components/index.js",
6
6
  "main": "./es/components/index.js",
@@ -65,5 +65,5 @@
65
65
  "iOS 7",
66
66
  "last 3 iOS versions"
67
67
  ],
68
- "gitHead": "0b21d956c976581306e755b62317a26555245929"
68
+ "gitHead": "9d4e7101c2a4ab3cf9088698e98dab44075b2020"
69
69
  }