Skip to content

Commit

Permalink
perf: 推送
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaviilee committed May 11, 2024
1 parent 67803f0 commit 3791ac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Tool.vue
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export default {
if (User.hasPermission('push_banner') && !this.isPhone) {
const ids = this.data.map(item => item.ID);
const logs = await getDesignLog({ ids: ids.join(',') }).then(res => res.data.data);
const logs = await getDesignLog({ source_type: "tool", ids: ids.join(',') }).then(res => res.data.data);
this.data = this.data.map(item => {
const log = logs.find(log => log.source_id == item.ID) || null;
Expand Down

0 comments on commit 3791ac1

Please sign in to comment.