|
@ -17,7 +17,7 @@ export default { |
|
|
if (item.path === "sync") { |
|
|
if (item.path === "sync") { |
|
|
const url = config.edit.syncUrl; |
|
|
const url = config.edit.syncUrl; |
|
|
const method = config.edit.syncMethod; |
|
|
const method = config.edit.syncMethod; |
|
|
await appListRef.value.action(async () => await request(url, route.meta.businessType, { method }), `确认手动同步吗?`); |
|
|
await appListRef.value.onClick(async () => await request(url, route.meta.businessType, { method }), `确认手动同步吗?`); |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
return { appListRef, config, onCommand }; |
|
|
return { appListRef, config, onCommand }; |
|
|