Pārlūkot izejas kodu

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

zuohuaijun 1 gadu atpakaļ
vecāks
revīzija
ee1116c308
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 userStore = useUserInfo();
 const getSelectOptions = (val: TableSearchType) => {
 const getSelectOptions = (val: TableSearchType) => {
 	if (val.options) return val.options;
 	if (val.options) return val.options;
-	if (val.dictCode) return userStore.getDictDataByCode('TemplateTypeEnum');
+	if (val.dictCode) return userStore.getDictDataByCode(val.dictCode);
 	return [];
 	return [];
 };
 };