|
|
@ -498,7 +498,7 @@ export const handleNotification = (title, _options) => {
|
|
|
|
var notification;
|
|
|
|
var notification;
|
|
|
|
const options = {
|
|
|
|
const options = {
|
|
|
|
requireInteraction: true, // 设置手动关闭
|
|
|
|
requireInteraction: true, // 设置手动关闭
|
|
|
|
tag: 'global-sales-notification', // 通知ID,同类通知建议设置相同ID,避免通知过多遮挡桌面
|
|
|
|
// tag: 'global-sales-notification', // 通知ID,同类通知建议设置相同ID,避免通知过多遮挡桌面
|
|
|
|
// icon: '/favicon.ico', // 通知图标
|
|
|
|
// icon: '/favicon.ico', // 通知图标
|
|
|
|
..._options,
|
|
|
|
..._options,
|
|
|
|
};
|
|
|
|
};
|
|
|
|