chore(Popover): change name of default slot to reference

This commit is contained in:
chenjiahan
2020-11-18 15:32:56 +08:00
committed by neverland
parent 699a5ebe51
commit 64e17bcd08
3 changed files with 27 additions and 17 deletions

View File

@@ -168,7 +168,7 @@ export default createComponent({
<div class={bem('arrow')} />
{this.actions.map(this.renderAction)}
</Popup>
{this.slots('default')}
{this.slots('reference')}
</span>
);
},