vxe-table 3.8.7 → 3.8.8-beta.0

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/lib/index.umd.js CHANGED
@@ -11479,7 +11479,7 @@ var es_array_concat = __webpack_require__(8706);
11479
11479
 
11480
11480
 
11481
11481
  function getLog(message, params) {
11482
- return "[vxe-table v".concat("3.8.7", "] ").concat(conf.i18n(message, params));
11482
+ return "[vxe-table v".concat("3.8.8-beta.0", "] ").concat(conf.i18n(message, params));
11483
11483
  }
11484
11484
  function outLog(type) {
11485
11485
  return function (message, params) {
@@ -13159,7 +13159,7 @@ function setIcon(options) {
13159
13159
  var globalStore = {};
13160
13160
  var VXETable = {
13161
13161
  v: v,
13162
- version: "3.8.7",
13162
+ version: "3.8.8-beta.0",
13163
13163
  reg: reg,
13164
13164
  use: use,
13165
13165
  setConfig: setConfig,
@@ -17179,6 +17179,21 @@ var Methods = {
17179
17179
  return _this6.recalculate();
17180
17180
  });
17181
17181
  },
17182
+ /**
17183
+ * 修改行数据
17184
+ */
17185
+ setRow: function setRow(rows, record) {
17186
+ if (record) {
17187
+ var rest = rows;
17188
+ if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(rows)) {
17189
+ rest = [rows];
17190
+ }
17191
+ rest.forEach(function (item) {
17192
+ return Object.assign(item, record);
17193
+ });
17194
+ }
17195
+ return this.$nextTick();
17196
+ },
17182
17197
  /**
17183
17198
  * 局部加载行数据并恢复到初始状态
17184
17199
  * 对于行数据需要局部更改的场景中可能会用到