Skip to content

Commit 8957131

Browse files
committed
通知修复
1 parent 8cb0d86 commit 8957131

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/widgets/dynamic-island/DynamicIsland.widget.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import {Widget, WidgetKeyword} from "@widget-js/core";
2-
//TODO 修改组件信息,标题,描述,关键词
32
const name = "cn.widgetjs.widgets.dynamic_island";
43
//组件标题
54
const title = {"zh": "灵动通知"};

src/widgets/dynamic-island/DynamicIslandWidgetView.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ export default {
4444
BrowserWindowApi.moveTop()
4545
Object.assign(notification, newNotification)
4646
setState()
47-
stopHideTimeout()
4847
startHideTimeout()
4948
} else {
5049
hide()
@@ -98,6 +97,7 @@ export default {
9897
}, hideTimeout)
9998
10099
const startHideTimeout = () => {
100+
stopHideTimeout()
101101
if (hideTimeout.value > 0) {
102102
start()
103103
}

0 commit comments

Comments
 (0)