Przeglądaj źródła

fixup! feat: 新增字典渲染组件

喵你个旺呀 1 rok temu
rodzic
commit
5969424abd
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Web/src/components/table/dictLabel.vue

+ 1 - 1
Web/src/components/table/dictLabel.vue

@@ -13,5 +13,5 @@ const props = defineProps<{
 	defaultValue: string
 }>();
 
-const dict = reactive(useUserInfo().getDictLabelByVal(props.code, props.value));
+const dict = reactive(useUserInfo().getDictLabelByVal(props.code, props.value + ""));
 </script>