提交 2e9145ac 编写于 作者: D dongwei

add test cases

Signed-off-by: Ndongwei <dongwei@kaihongdigi.com>
上级 a6bedc8f
...@@ -285,6 +285,7 @@ ...@@ -285,6 +285,7 @@
chart无障碍1 chart无障碍1
</text> </text>
<chart id="access1" class="access1" <chart id="access1" class="access1"
onaccessibility="onAccessibility"
accessibilitygroup ="true" accessibilitygroup ="true"
accessibilitytext="这是div" accessibilitytext="这是div"
accessibilitydescription="点击此按键会弹出一个对话框" accessibilitydescription="点击此按键会弹出一个对话框"
......
...@@ -146,6 +146,14 @@ export default { ...@@ -146,6 +146,14 @@ export default {
} }
] ]
}, },
onAccessibility(event) {
if (event.eventType == 1) {
// Do Something
}
console.log("onAccessibility" + JSON.stringify(event));
},
addData() { addData() {
this.$refs.linechart.append({ this.$refs.linechart.append({
serial: 0, serial: 0,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册