feat:自动同意
@click="onApproveClick()" 加上括号,无参传值。才可以引入默认值
This commit is contained in:
@ -9,7 +9,7 @@
|
|||||||
</slot>
|
</slot>
|
||||||
关闭
|
关闭
|
||||||
</a-button>
|
</a-button>
|
||||||
<a-button v-if="!readonly && hasBtnApprove" type="primary" @click="onApproveClick">
|
<a-button v-if="!readonly && hasBtnApprove" type="primary" @click="onApproveClick()">
|
||||||
<slot name="icon">
|
<slot name="icon">
|
||||||
<check-circle-outlined />
|
<check-circle-outlined />
|
||||||
</slot>
|
</slot>
|
||||||
|
|||||||
Reference in New Issue
Block a user