@netang/quasar 0.1.78 → 0.1.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -54,7 +54,9 @@
|
|
|
54
54
|
dense
|
|
55
55
|
:removable="! readonly && ! disable"
|
|
56
56
|
@remove="onRemoveSelected(index)"
|
|
57
|
-
|
|
57
|
+
>
|
|
58
|
+
<q-tooltip>{{currentFormatLabel(item)}}</q-tooltip>
|
|
59
|
+
</q-chip>
|
|
58
60
|
</template>
|
|
59
61
|
</template>
|
|
60
62
|
|
|
@@ -923,7 +925,12 @@ export default {
|
|
|
923
925
|
* 移除已选数据
|
|
924
926
|
*/
|
|
925
927
|
function onRemoveSelected(index) {
|
|
926
|
-
|
|
928
|
+
|
|
929
|
+
const _selected = [...selected.value]
|
|
930
|
+
_selected.splice(index, 1)
|
|
931
|
+
|
|
932
|
+
// 触发更新值
|
|
933
|
+
emitModelValue(_selected)
|
|
927
934
|
}
|
|
928
935
|
|
|
929
936
|
/**
|