Skip to content

Commit

Permalink
fix(table): tableAction icon vbenjs#182
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed Jan 13, 2021
1 parent b803c41 commit b9d53a7
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.zh_CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## Wip

### 🐛 Bug Fixes

- 修复 `TableAction`图标问题
- 修复菜单折叠按钮丢失问题

## 2.0.0-rc.16 (2020-01-12)

### ✨ Refactor
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"stylelint-order": "^4.1.0",
"ts-node": "^9.1.0",
"typescript": "^4.1.3",
"vite": "^2.0.0-beta.26",
"vite": "^2.0.0-beta.27",
"vite-plugin-html": "^2.0.0-beta.5",
"vite-plugin-mock": "^2.0.0-beta.3",
"vite-plugin-purge-icons": "^0.5.1",
Expand Down
5 changes: 3 additions & 2 deletions src/components/Button/src/PopConfirmButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@
return popValues;
});
return () => {
const Button = h(BasicButton, unref(getBindValues), extendSlots(slots));
const values = omit(unref(getBindValues), 'icon');
const Button = h(BasicButton, values, extendSlots(slots));
if (!props.enable) {
return Button;
}
return h(Popconfirm, omit(unref(getBindValues), 'icon'), { default: () => Button });
return h(Popconfirm, values, { default: () => Button });
};
},
});
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7850,10 +7850,10 @@ vite-plugin-pwa@^0.3.6:
pretty-bytes "^5.5.0"
workbox-build "^6.0.2"

vite@^2.0.0-beta.26:
version "2.0.0-beta.26"
resolved "https://registry.npmjs.org/vite/-/vite-2.0.0-beta.26.tgz#70e2277003de609b218ddb33d740f76d01f01dc2"
integrity sha512-/OZ5X5nq9xV3UKO2x3Xl83RQM0DsRWsa4htaRyzZ6e+G5Z+SfMiUlveJctSoPJ3JjoIBm4bbDAe0rXM5Mt2tlw==
vite@^2.0.0-beta.27:
version "2.0.0-beta.27"
resolved "https://registry.npmjs.org/vite/-/vite-2.0.0-beta.27.tgz#a2e4b3a698e67c89fd963ff51ee5283ec564c65c"
integrity sha512-1fGPjSVE4MmCGVguFy7pPurCLnvHu4fJSzVjejd9GoFqCNie+JKCpe3KGsxIb9B8ot/aDd4ISCB0+fH1/01FUA==
dependencies:
esbuild "^0.8.26"
postcss "^8.2.1"
Expand Down

0 comments on commit b9d53a7

Please sign in to comment.