Skip to content

Commit 0224942

Browse files
committed
fix: 设备方向第二次打开无效的bug
1 parent 5dbe756 commit 0224942

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

platforms/app-plus/orientation/orientation.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
title: 'orientation',
2222
value: ''
2323
}
24+
},
25+
onUnload() {
26+
this.watchStop();
2427
},
2528
methods: {
2629
getOrient: function () {

0 commit comments

Comments
 (0)