hrsass-components 2.5.6 → 2.5.8

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.
@@ -65,7 +65,7 @@ var contentStyle = _interopDefault(require('!!raw-loader!tinymce/skins/content/d
65
65
  var SvgPanZoom = _interopDefault(require('svg-pan-zoom'));
66
66
  var saveSvgAsPng = require('save-svg-as-png');
67
67
 
68
- var version = "2.5.6";
68
+ var version = "2.5.8";
69
69
 
70
70
  /**
71
71
  * 版本号
@@ -521,6 +521,14 @@ var warpFun = function warpFun(fun) {
521
521
  reject(new Error('Invalid arguments provided'));
522
522
  return;
523
523
  }
524
+
525
+ // 修复点:在开始异步操作前,同步更新调用栈
526
+ // 推送一个代表本次调用的标识符,这里使用时间戳和随机数确保唯一性
527
+ var callIdentifier = {
528
+ id: Date.now() + Math.random(),
529
+ args: args
530
+ };
531
+ stack.push(callIdentifier);
524
532
  try {
525
533
  // 执行原函数并处理结果
526
534
  var resultPromise = fun.apply(self, args);
@@ -8059,6 +8067,7 @@ var HrTableBase = {
8059
8067
  var hasReset = title && (_conditions.length > 0 || typeof $listeners.reset === "function");
8060
8068
  var titleSolt = title && $scopedSlots.title ? this.normalizeTitleSlot($scopedSlots.title()) : null;
8061
8069
  var toolbar = title ? h(Toolbar, [h(TableToolbar, {
8070
+ ref: "toolbar",
8062
8071
  attrs: {
8063
8072
  data: _conditions,
8064
8073
  locale: locale,