【发布时间】:2023-01-07 04:45:34
【问题描述】:
我有以下模板:
<template>
<q-item tag="label" v-ripple>
<q-popup-edit
v-model="editedModel"
@before-show="onFieldClick"
@save="setValue"
:cover="false"
fit
buttons
>
<template v-slot:title>
<div class="text-mono">{{ name }}</div>
</template>
<q-select
dense
autofocus
emit-value
v-model="editedModel"
multiple
:options="options"
counter
/>
</q-popup-edit>
<q-item-section>
<q-item-label class="text-mono">{{ name }}</q-item-label>
<q-item-label caption>{{ description }}</q-item-label>
<q-item-label caption>{{ model }}</q-item-label>
</q-item-section>
</q-item>
</template>
@save 方法永远不会被调用。我想念什么?谢谢。
【问题讨论】:
-
你解决了吗?我遇到了同样的问题。
标签: events popup vuejs3 quasar-framework editbox