n20-common-lib 3.0.89 → 3.0.90

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "3.0.89",
3
+ "version": "3.0.90",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -764,6 +764,8 @@ export default {
764
764
  // 处理固定操作列的按钮事件
765
765
  handleOperateCommand(command, row, rowIndex) {
766
766
  this.$emit(command, row, rowIndex)
767
+ //
768
+ const btn = this.btnList.find((item) => item.command === command || item.label === command) || { command }
767
769
  this.$emit('hover-btn-click', { btn, row, rowIndex })
768
770
  },
769
771
  // 处理 tableOperate 固定/取消固定切换