From 5b09a1c96c1d1d9aa9b0fb9059d36e0894ee92d3 Mon Sep 17 00:00:00 2001 From: hsm-lv <80095014+hsm-lv@users.noreply.github.com> Date: Fri, 10 Nov 2023 13:10:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BA=8B=E4=BB=B6=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E9=87=8Cjson=E6=A0=BC=E5=BC=8F=20(#8685)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/zh-CN/concepts/event-action.md | 48 ++++++++++++++--------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/docs/zh-CN/concepts/event-action.md b/docs/zh-CN/concepts/event-action.md index d8538fd51..58bce45a3 100644 --- a/docs/zh-CN/concepts/event-action.md +++ b/docs/zh-CN/concepts/event-action.md @@ -75,42 +75,42 @@ order: 9 ```schema { - type: 'page', - body: [ + "type": "page", + "body": [ { - type: 'button', - label: '尝试点击、鼠标移入/移出', - level: 'primary', - onEvent: { - click: { - actions: [ + "type": "button", + "label": "尝试点击、鼠标移入/移出", + "level": "primary", + "onEvent": { + "click": { + "actions": [ { - actionType: 'toast', - args: { - msgType: 'info', - msg: '派发点击事件' + "actionType": "toast", + "args": { + "msgType": "info", + "msg": "派发点击事件" } } ] }, - mouseenter: { - actions: [ + "mouseenter": { + "actions": [ { - actionType: 'toast', - args: { - msgType: 'info', - msg: '派发鼠标移入事件' + "actionType": "toast", + "args": { + "msgType": "info", + "msg": "派发鼠标移入事件" } } ] }, - mouseleave: { - actions: [ + "mouseleave": { + "actions": [ { - actionType: 'toast', - args: { - msgType: 'info', - msg: '派发鼠标移出事件' + "actionType": "toast", + "args": { + "msgType": "info", + "msg": "派发鼠标移出事件" } } ]