bill před 2 měsíci
rodič
revize
edcc2bd25b
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      src/views/tagging/style-type-select.vue

+ 2 - 2
src/views/tagging/style-type-select.vue

@@ -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;