style(Collapse): adjust border gag (#6361)

This commit is contained in:
neverland
2020-05-24 18:05:45 +08:00
committed by GitHub
parent dc45ab8d96
commit 43f9857688
4 changed files with 21 additions and 12 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
// Utils
import { createNamespace, isDef } from '../utils';
import { BORDER_TOP } from '../utils/constant';
import { raf, doubleRaf } from '../utils/dom/raf';
// Mixins
@@ -173,7 +172,7 @@ export default createComponent({
render() {
return (
<div class={[bem(), { [BORDER_TOP]: this.index }]}>
<div class={[bem({ border: this.index })]}>
{this.genTitle()}
{this.genContent()}
</div>