Explorar o código

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

喵你个旺呀 hai 1 ano
pai
achega
5969424abd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>