Procházet zdrojové kódy

!1843 update Web/src/components/table/search.vue.
Merge pull request !1843 from 整蛊王/N/A

zuohuaijun před 11 měsíci
rodič
revize
ee1116c308
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Web/src/components/table/search.vue

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

@@ -173,7 +173,7 @@ const onReset = (formEl: FormInstance | undefined) => {
 const userStore = useUserInfo();
 const getSelectOptions = (val: TableSearchType) => {
 	if (val.options) return val.options;
-	if (val.dictCode) return userStore.getDictDataByCode('TemplateTypeEnum');
+	if (val.dictCode) return userStore.getDictDataByCode(val.dictCode);
 	return [];
 };