Skip to content

Commit ff47528

Browse files
committed
更新[EnvJs]: 消息通知接口增加 opts 参数 (点击通知跳转)
1 parent 3998496 commit ff47528

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Env.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,9 @@ function Env(name, opts) {
255255
*/
256256
msg(title = name, subt = '', desc = '', opts) {
257257
if (this.isSurge() || this.isLoon()) {
258-
$notification.post(title, subt, desc)
258+
$notification.post(title, subt, desc, opts)
259259
} else if (this.isQuanX()) {
260-
$notify(title, subt, desc)
260+
$notify(title, subt, desc, opts)
261261
}
262262
this.logs.push('', '==============📣系统通知📣==============')
263263
this.logs.push(title)

Env.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)