|
@ -30,11 +30,11 @@ export default { |
|
|
config.value = useConfig(route.meta?.businessType, route.meta); |
|
|
config.value = useConfig(route.meta?.businessType, route.meta); |
|
|
const result = await request("settleaccount/vmi-async-message/get-message-count", null, { method: "POST" }); |
|
|
const result = await request("settleaccount/vmi-async-message/get-message-count", null, { method: "POST" }); |
|
|
if (!result.errors) { |
|
|
if (!result.errors) { |
|
|
showMessage(result.data); |
|
|
//showMessage(result.data);
|
|
|
} |
|
|
} |
|
|
PubSub.subscribe(event, async (_, data) => { |
|
|
PubSub.subscribe(event, async (_, data) => { |
|
|
if (route.path === "/vmi/balance") { |
|
|
if (route.path === "/vmi/balance") { |
|
|
showMessage(data); |
|
|
//showMessage(data);
|
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|