优化多个字典数据查询

This commit is contained in:
不做码农
2021-12-14 22:00:38 +08:00
parent f7edb87207
commit f5fbcb54d7
3 changed files with 14 additions and 16 deletions

View File

@@ -158,7 +158,7 @@ $end
$end
];
$if(index > 0)
this.getMoreDicts(dictParams).then((response) => {
this.getDicts(dictParams).then((response) => {
response.data.forEach((element) => {
this[element.columnName] = element.list;
});