提交 742a1357 编写于 作者: Q qpzeng

pinch test

Signed-off-by: Nqpzeng <zengqingpeng6@huawei.com>
Change-Id: Ie5a4eefbeae1941549598197b6134b2188e6b5ce
上级 573ab70d
...@@ -113,7 +113,7 @@ struct ScrollExample { ...@@ -113,7 +113,7 @@ struct ScrollExample {
} }
}) })
.onClick(() => { .onClick(() => {
router.push({ uri: 'pages/screen' }) router.push({ uri: 'pages/pinch' })
}) })
.gesture( .gesture(
LongPressGesture({ repeat: false }) LongPressGesture({ repeat: false })
......
...@@ -17,7 +17,7 @@ import prompt from '@ohos.prompt'; ...@@ -17,7 +17,7 @@ import prompt from '@ohos.prompt';
@Entry @Entry
@Component @Component
struct Screen { struct PinchTest {
@State myscale: number = 1 @State myscale: number = 1
build() { build() {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"pages/second", "pages/second",
"pages/third", "pages/third",
"pages/fourth", "pages/fourth",
"pages/screen", "pages/pinch",
"pages/drag" "pages/drag"
] ]
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册