|
@@ -8,7 +8,7 @@
|
|
|
</span>
|
|
|
<template #overlay>
|
|
|
<Menu
|
|
|
- style="width: 120px"
|
|
|
+ style="width: auto"
|
|
|
:active-key="value.toString()"
|
|
|
mode="vertical"
|
|
|
popupClassName="child-items"
|
|
@@ -29,7 +29,7 @@ import { ui18n } from "@/lang";
|
|
|
|
|
|
const props = defineProps<{ value: number; all?: boolean; count?: boolean }>();
|
|
|
const emit = defineEmits<{ (e: "update:value", v: number): void }>();
|
|
|
-const allType = { name: ui18n.t('sys.all'), id: -1 };
|
|
|
+const allType = { name: ui18n.t("sys.all"), id: -1 };
|
|
|
const getTypeCount = (item: any) => {
|
|
|
if (item.id === allType.id) {
|
|
|
return taggings.value.length;
|