Skip to content

Commit

Permalink
Merge pull request #179 from tiancheng-66/patch-1
Browse files Browse the repository at this point in the history
Update index.vue
  • Loading branch information
kanyxmo authored Jun 17, 2024
2 parents 4ea270a + 747a23e commit 48f3529
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/ma-info/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,13 @@ watch(
{ deep: true, immediate: true }
);
const reset = (vl) => {
const reset = async (vl) => {
data.value = vl;
descriptions.value = [];
if (!columns.value) {
return;
}
columns.value.forEach(async (item) => {
for (let item of columns.value) {
let value = null;
if (isEmpty(item) || item.dataIndex === "__operation" || item.infoShow === false) {
return;
Expand All @@ -105,7 +105,7 @@ const reset = (vl) => {
label: item.title,
value: value ?? get(data.value, item.dataIndex),
});
});
};
};
watch(
Expand Down

0 comments on commit 48f3529

Please sign in to comment.