diff --git a/examples/sites/demos/pc/app/radio/default-slot.-composition-api.vue b/examples/sites/demos/pc/app/radio/default-slot-composition-api.vue similarity index 100% rename from examples/sites/demos/pc/app/radio/default-slot.-composition-api.vue rename to examples/sites/demos/pc/app/radio/default-slot-composition-api.vue diff --git a/examples/sites/demos/pc/app/radio/webdoc/radio.js b/examples/sites/demos/pc/app/radio/webdoc/radio.js index c6e9fcfa1..60733867a 100644 --- a/examples/sites/demos/pc/app/radio/webdoc/radio.js +++ b/examples/sites/demos/pc/app/radio/webdoc/radio.js @@ -196,7 +196,7 @@ export default { 'events': [ { 'name': 'change', - 'type': '(value) => void', + 'type': '(value: boolean | number | string) => void', 'defaultValue': '', 'desc': { 'zh-CN': '绑定值变化时触发的事件', @@ -303,7 +303,7 @@ export default { 'radio-group events': [ { 'name': 'change', - 'type': '(value) => void', + 'type': '(value: number[] | string[]) => void', 'defaultValue': '', 'desc': { 'zh-CN': '绑定值变化时触发的事件', diff --git a/examples/sites/demos/pc/app/switch/basic-usage-composition-api.vue b/examples/sites/demos/pc/app/switch/basic-usage-composition-api.vue index dcbbcbeb9..4a3ec6a9c 100644 --- a/examples/sites/demos/pc/app/switch/basic-usage-composition-api.vue +++ b/examples/sites/demos/pc/app/switch/basic-usage-composition-api.vue @@ -1,9 +1,10 @@ - diff --git a/examples/sites/demos/pc/app/switch/basic-usage.vue b/examples/sites/demos/pc/app/switch/basic-usage.vue index a214d1325..547f57016 100644 --- a/examples/sites/demos/pc/app/switch/basic-usage.vue +++ b/examples/sites/demos/pc/app/switch/basic-usage.vue @@ -1,13 +1,18 @@ - diff --git a/examples/sites/demos/pc/app/switch/before-change-composition-api.vue b/examples/sites/demos/pc/app/switch/before-change-composition-api.vue index 31234bd16..5d4b1012b 100644 --- a/examples/sites/demos/pc/app/switch/before-change-composition-api.vue +++ b/examples/sites/demos/pc/app/switch/before-change-composition-api.vue @@ -4,10 +4,9 @@ + diff --git a/examples/sites/demos/pc/app/switch/custom-open-close.vue b/examples/sites/demos/pc/app/switch/custom-open-close.vue index b9eaea0c6..3a12b37c1 100644 --- a/examples/sites/demos/pc/app/switch/custom-open-close.vue +++ b/examples/sites/demos/pc/app/switch/custom-open-close.vue @@ -1,15 +1,18 @@ - + diff --git a/examples/sites/demos/pc/app/switch/custom-true-false-value-composition-api.vue b/examples/sites/demos/pc/app/switch/custom-true-false-value-composition-api.vue index 42cfc5b29..82e5d9a8b 100644 --- a/examples/sites/demos/pc/app/switch/custom-true-false-value-composition-api.vue +++ b/examples/sites/demos/pc/app/switch/custom-true-false-value-composition-api.vue @@ -1,21 +1,13 @@ - diff --git a/examples/sites/demos/pc/app/switch/custom-true-false-value.vue b/examples/sites/demos/pc/app/switch/custom-true-false-value.vue index 21b16de14..1d6f03a22 100644 --- a/examples/sites/demos/pc/app/switch/custom-true-false-value.vue +++ b/examples/sites/demos/pc/app/switch/custom-true-false-value.vue @@ -1,18 +1,11 @@ - + diff --git a/examples/sites/demos/pc/app/switch/dynamic-disable.vue b/examples/sites/demos/pc/app/switch/dynamic-disable.vue index 8726d2244..a9876d7e9 100644 --- a/examples/sites/demos/pc/app/switch/dynamic-disable.vue +++ b/examples/sites/demos/pc/app/switch/dynamic-disable.vue @@ -1,11 +1,11 @@ - + diff --git a/examples/sites/demos/pc/app/switch/enent-composition-api.vue b/examples/sites/demos/pc/app/switch/enent-composition-api.vue deleted file mode 100644 index fb29d4209..000000000 --- a/examples/sites/demos/pc/app/switch/enent-composition-api.vue +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/examples/sites/demos/pc/app/switch/event-change-composition-api.vue b/examples/sites/demos/pc/app/switch/event-change-composition-api.vue new file mode 100644 index 000000000..aeb5892e4 --- /dev/null +++ b/examples/sites/demos/pc/app/switch/event-change-composition-api.vue @@ -0,0 +1,11 @@ + + + diff --git a/examples/sites/demos/pc/app/switch/enent.vue b/examples/sites/demos/pc/app/switch/event-change.vue similarity index 54% rename from examples/sites/demos/pc/app/switch/enent.vue rename to examples/sites/demos/pc/app/switch/event-change.vue index 6455a7bf7..3c7b0f295 100644 --- a/examples/sites/demos/pc/app/switch/enent.vue +++ b/examples/sites/demos/pc/app/switch/event-change.vue @@ -1,8 +1,8 @@ - diff --git a/examples/sites/demos/pc/app/switch/mini-mode.vue b/examples/sites/demos/pc/app/switch/mini-mode.vue index e245944d1..9374b9dd6 100644 --- a/examples/sites/demos/pc/app/switch/mini-mode.vue +++ b/examples/sites/demos/pc/app/switch/mini-mode.vue @@ -2,7 +2,7 @@ -