vxe-table 3.7.0-beta.10 → 3.7.0-beta.11

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
@@ -11045,7 +11045,7 @@ var es_array_concat = __webpack_require__(2222);
11045
11045
 
11046
11046
 
11047
11047
  function getLog(message, params) {
11048
- return "[vxe-table v".concat("3.7.0-beta.9", "] ").concat(conf.i18n(message, params));
11048
+ return "[vxe-table v".concat("3.7.0-beta.10", "] ").concat(conf.i18n(message, params));
11049
11049
  }
11050
11050
  function outLog(type) {
11051
11051
  return function (message, params) {
@@ -12096,7 +12096,12 @@ var VXECommandsStore = /*#__PURE__*/function () {
12096
12096
  value: function add(name, render) {
12097
12097
  var conf = this.store[name];
12098
12098
  // 兼容
12099
- if (false) {}
12099
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(render)) {
12100
+ if (false) {}
12101
+ render = {
12102
+ commandMethod: render
12103
+ };
12104
+ }
12100
12105
 
12101
12106
  // 检测是否覆盖
12102
12107
  if (false) { var confKeys; }
@@ -12149,7 +12154,12 @@ var VXEMenusStore = /*#__PURE__*/function () {
12149
12154
  value: function add(name, render) {
12150
12155
  var conf = this.store[name];
12151
12156
  // 兼容
12152
- if (false) {}
12157
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(render)) {
12158
+ if (false) {}
12159
+ render = {
12160
+ menuMethod: render
12161
+ };
12162
+ }
12153
12163
 
12154
12164
  // 检测是否覆盖
12155
12165
  if (false) { var confKeys; }
@@ -12202,7 +12212,12 @@ var VXEFormatsStore = /*#__PURE__*/function () {
12202
12212
  value: function add(name, render) {
12203
12213
  var conf = this.store[name];
12204
12214
  // 兼容
12205
- if (false) {}
12215
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(render)) {
12216
+ if (false) {}
12217
+ render = {
12218
+ cellFormatMethod: render
12219
+ };
12220
+ }
12206
12221
 
12207
12222
  // 检测是否覆盖
12208
12223
  if (false) { var confKeys; }
@@ -12386,7 +12401,7 @@ function _t(key, args) {
12386
12401
  var v = 'v3';
12387
12402
  var VXETable = {
12388
12403
  v: v,
12389
- version: "3.7.0-beta.9",
12404
+ version: "3.7.0-beta.10",
12390
12405
  reg: reg,
12391
12406
  use: use,
12392
12407
  setup: setup,