price handling
This commit is contained in:
@@ -31,10 +31,13 @@
|
||||
<AButton
|
||||
v-if="showOk"
|
||||
type="primary"
|
||||
html-type="button"
|
||||
:loading="loading"
|
||||
:disabled="loading"
|
||||
:class="[{ 'col-span-8': showCancel }]"
|
||||
size="large"
|
||||
block
|
||||
@click="$emit('ok')"
|
||||
@click="handleOk"
|
||||
>
|
||||
{{ okText }}
|
||||
</AButton>
|
||||
@@ -79,10 +82,13 @@
|
||||
<AButton
|
||||
v-if="showOk"
|
||||
type="primary"
|
||||
html-type="button"
|
||||
:loading="loading"
|
||||
:disabled="loading"
|
||||
:class="[{ 'col-span-8': showCancel }]"
|
||||
size="large"
|
||||
block
|
||||
@click="$emit('ok')"
|
||||
@click="handleOk"
|
||||
>
|
||||
{{ okText }}
|
||||
</AButton>
|
||||
@@ -151,6 +157,10 @@ function handleCancel() {
|
||||
emit('close')
|
||||
visibleProxy.value = false
|
||||
}
|
||||
|
||||
function handleOk() {
|
||||
emit('ok')
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less">
|
||||
|
||||
Reference in New Issue
Block a user