mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[improvement] Template: use v-text instead of mustache (#2404)
This commit is contained in:
@@ -21,20 +21,18 @@
|
||||
<div :class="b('buttons')">
|
||||
<van-button
|
||||
block
|
||||
type="danger"
|
||||
:text="$t('save')"
|
||||
:loading="isSaving"
|
||||
@click="onSave"
|
||||
type="danger"
|
||||
>
|
||||
{{ $t('save') }}
|
||||
</van-button>
|
||||
/>
|
||||
<van-button
|
||||
v-if="isEdit"
|
||||
block
|
||||
:text="$t('delete')"
|
||||
:loading="isDeleting"
|
||||
@click="onDelete"
|
||||
v-if="isEdit"
|
||||
>
|
||||
{{ $t('delete') }}
|
||||
</van-button>
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
Reference in New Issue
Block a user