diff --git a/examples/sites/demos/pc/app/steps/advanced-steps-composition-api.vue b/examples/sites/demos/pc/app/steps/advanced-steps-composition-api.vue index 88042c8c2..abc7bc535 100644 --- a/examples/sites/demos/pc/app/steps/advanced-steps-composition-api.vue +++ b/examples/sites/demos/pc/app/steps/advanced-steps-composition-api.vue @@ -23,6 +23,6 @@ const data = ref([ const advancedClick = (index, node) => { advancedActive.value = index - Modal.message(`节点index: ${index}; 节点信息: ${JSON.stringify(node)}.`) + Modal.message({ message: `节点 index: ${index}; 节点信息: ${JSON.stringify(node)}`, status: 'info' }) } diff --git a/examples/sites/demos/pc/app/steps/advanced-steps.vue b/examples/sites/demos/pc/app/steps/advanced-steps.vue index 59ddf15eb..db03829ea 100644 --- a/examples/sites/demos/pc/app/steps/advanced-steps.vue +++ b/examples/sites/demos/pc/app/steps/advanced-steps.vue @@ -30,7 +30,7 @@ export default { advancedClick(index, node) { this.advancedActive = index - Modal.message(`节点index: ${index}; 节点信息: ${JSON.stringify(node)}.`) + Modal.message({ message: `节点 index: ${index}; 节点信息: ${JSON.stringify(node)}`, status: 'info' }) } } } diff --git a/examples/sites/demos/pc/app/steps/click-composition-api.vue b/examples/sites/demos/pc/app/steps/click-composition-api.vue index ff1fc0f35..666c3d70f 100644 --- a/examples/sites/demos/pc/app/steps/click-composition-api.vue +++ b/examples/sites/demos/pc/app/steps/click-composition-api.vue @@ -1,10 +1,6 @@ @@ -35,14 +31,11 @@ const stepsData = ref([ } ]) const defaultActive = ref(1) -const currentNode = ref(null) const normalClick = (index, node) => { defaultActive.value = index - currentNode.value = { - index, - node: JSON.stringify(node) - } + + Modal.message({ message: `节点 index:${index};节点信息: ${JSON.stringify(node)}`, status: 'info' }) } diff --git a/examples/sites/demos/pc/app/steps/click.vue b/examples/sites/demos/pc/app/steps/click.vue index 567c3243f..a9f6caaa4 100644 --- a/examples/sites/demos/pc/app/steps/click.vue +++ b/examples/sites/demos/pc/app/steps/click.vue @@ -1,16 +1,11 @@ diff --git a/examples/sites/demos/pc/app/time-line/show-divider.vue b/examples/sites/demos/pc/app/time-line/show-divider.vue index 5b1f2958c..c22328b9b 100644 --- a/examples/sites/demos/pc/app/time-line/show-divider.vue +++ b/examples/sites/demos/pc/app/time-line/show-divider.vue @@ -20,7 +20,7 @@ export default { normalClick(index, node) { this.normalActive = index - Modal.message(`节点index: ${index}; 节点信息: ${JSON.stringify(node)}.`) + Modal.message({ message: `节点 index: ${index}; 节点信息: ${JSON.stringify(node)}`, status: 'info' }) } } }