|
@@ -67,6 +67,7 @@ export default {
|
|
|
if (res?.columnConfig?.length > 0) {
|
|
if (res?.columnConfig?.length > 0) {
|
|
|
//对比接口返回和本地columns
|
|
//对比接口返回和本地columns
|
|
|
let { nlist, type } = this.columnsContrast(res.columnConfig);
|
|
let { nlist, type } = this.columnsContrast(res.columnConfig);
|
|
|
|
|
+ // 将nlist中的prop字段去重
|
|
|
const uniqueList = _.uniqBy(nlist, 'prop');
|
|
const uniqueList = _.uniqBy(nlist, 'prop');
|
|
|
const uniqueLabelList = _.uniqBy(uniqueList, 'label');
|
|
const uniqueLabelList = _.uniqBy(uniqueList, 'label');
|
|
|
//有更新则更新服务缓存配置
|
|
//有更新则更新服务缓存配置
|