fix(VnNotes) refs #7226 use v-bind
gitea/salix-front/pipeline/head This commit looks good Details
gitea/salix-front/pipeline/pr-master This commit looks good Details

This commit is contained in:
Alex Moreno 2024-04-18 10:13:36 +02:00
parent 84dfd6d474
commit 69850d65e7
1 changed files with 79 additions and 85 deletions

View File

@ -27,7 +27,6 @@ async function insert() {
} }
</script> </script>
<template> <template>
<div class="column items-center full-height full-width">
<VnPaginate <VnPaginate
:data-key="$props.url" :data-key="$props.url"
:url="$props.url" :url="$props.url"
@ -36,6 +35,7 @@ async function insert() {
:filter="$props.filter" :filter="$props.filter"
auto-load auto-load
ref="vnPaginateRef" ref="vnPaginateRef"
v-bind="$attrs"
> >
<template #body="{ rows }"> <template #body="{ rows }">
<div class="column items-center full-width"> <div class="column items-center full-width">
@ -98,12 +98,7 @@ async function insert() {
></QInput> ></QInput>
</QCardSection> </QCardSection>
<QCardActions class="justify-end q-mr-sm"> <QCardActions class="justify-end q-mr-sm">
<QBtn <QBtn flat :label="t('globals.close')" color="primary" v-close-popup />
flat
:label="t('globals.close')"
color="primary"
v-close-popup
/>
<QBtn <QBtn
:label="t('globals.save')" :label="t('globals.save')"
color="primary" color="primary"
@ -113,7 +108,6 @@ async function insert() {
</QCardActions> </QCardActions>
</QCard> </QCard>
</QDialog> </QDialog>
</div>
</template> </template>
<style lang="scss" scoped> <style lang="scss" scoped>
.q-card { .q-card {