sonar medium 65 left
This commit is contained in:
@@ -210,7 +210,9 @@ export default {
|
||||
if(!code || code === 'case_attributes') return;
|
||||
nameOccurrences[name]++;
|
||||
// 重複的選項只出現一次
|
||||
nameOccurrences[name] === 2 ? noSortedRepeatedData.push(item) : false;
|
||||
if(nameOccurrences[name] === 2){
|
||||
noSortedRepeatedData.push(item)
|
||||
}
|
||||
// 要按照選單的順序排序
|
||||
this.repeatedData = this.columnType.filter(column => noSortedRepeatedData.includes(column));
|
||||
}else {
|
||||
|
||||
Reference in New Issue
Block a user