Sfoglia il codice sorgente

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

喵你个旺呀 1 anno fa
parent
commit
5969424abd
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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>