From d51d7ec773bce7ec0b7aa7cee68eb1b60ba4b243 Mon Sep 17 00:00:00 2001 From: MengYX Date: Sun, 24 Nov 2019 19:33:11 +0800 Subject: [PATCH] Change Notification --- src/App.vue | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/App.vue b/src/App.vue index d9a20b6..5565858 100644 --- a/src/App.vue +++ b/src/App.vue @@ -111,9 +111,11 @@ document.getElementById("loader-mask").remove(); this.$notify.info({ title: '离线使用', - message: '我们使用PWA技术,添加到桌面或收藏夹,无网络也能使用。点击查看使用提示', + message: '我们使用PWA技术,无网络也能使用
' + + '最近更新:支持qmcogg,mflac
' + + '点击查看 使用提示', dangerouslyUseHTMLString: true, - duration: 30000, + duration: 10000, position: 'top-left' }); }, @@ -149,7 +151,8 @@ this.tableData.push(data); this.$notify.success({ title: '解锁成功', - message: '成功解锁 ' + data.title + message: '成功解锁 ' + data.title, + duration: 3000 }); let _rp_data = [data.title, data.artist, data.album]; console.log(data); @@ -159,7 +162,8 @@ title: '出现问题', message: data.message + "," + file.name + ',参考使用提示', - dangerouslyUseHTMLString: true + dangerouslyUseHTMLString: true, + duration: 6000 }); window._paq.push(["trackEvent", "Error", data.message, file.name]); }