Skip to content

Commit 7feb6d4

Browse files
MBearohzsrc
authored andcommitted
Docs: Fix Loading demo (ElemeFE#17862) (ElemeFE#17863)
1 parent 24f3e84 commit 7feb6d4

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

examples/docs/en-US/loading.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,13 @@ Show a full screen animation while loading data.
128128
<template>
129129
<el-button
130130
type="primary"
131-
@click="openFullScreen"
131+
@click="openFullScreen1"
132132
v-loading.fullscreen.lock="fullscreenLoading">
133133
As a directive
134134
</el-button>
135135
<el-button
136136
type="primary"
137-
@click="openFullScreen">
137+
@click="openFullScreen2">
138138
As a service
139139
</el-button>
140140
</template>
@@ -147,13 +147,13 @@ Show a full screen animation while loading data.
147147
}
148148
},
149149
methods: {
150-
openFullScreen() {
150+
openFullScreen1() {
151151
this.fullscreenLoading = true;
152152
setTimeout(() => {
153153
this.fullscreenLoading = false;
154154
}, 2000);
155155
},
156-
openFullScreen() {
156+
openFullScreen2() {
157157
const loading = this.$loading({
158158
lock: true,
159159
text: 'Loading',

examples/docs/es/loading.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,13 @@ Muestra una animación de pantalla completa mientras se cargan los datos
128128
<template>
129129
<el-button
130130
type="primary"
131-
@click="openFullScreen"
131+
@click="openFullScreen1"
132132
v-loading.fullscreen.lock="fullscreenLoading">
133133
Como directiva
134134
</el-button>
135135
<el-button
136136
type="primary"
137-
@click="openFullScreen">
137+
@click="openFullScreen2">
138138
Como servicio
139139
</el-button>
140140
</template>
@@ -147,13 +147,13 @@ Muestra una animación de pantalla completa mientras se cargan los datos
147147
}
148148
},
149149
methods: {
150-
openFullScreen() {
150+
openFullScreen1() {
151151
this.fullscreenLoading = true;
152152
setTimeout(() => {
153153
this.fullscreenLoading = false;
154154
}, 2000);
155155
},
156-
openFullScreen() {
156+
openFullScreen2() {
157157
const loading = this.$loading({
158158
lock: true,
159159
text: 'Loading',

examples/docs/fr-FR/loading.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,13 @@ Affichez une animation en plein écran quand vous charger des données.
128128
<template>
129129
<el-button
130130
type="primary"
131-
@click="openFullScreen"
131+
@click="openFullScreen1"
132132
v-loading.fullscreen.lock="fullscreenLoading">
133133
Comme directive
134134
</el-button>
135135
<el-button
136136
type="primary"
137-
@click="openFullScreen">
137+
@click="openFullScreen2">
138138
Comme service
139139
</el-button>
140140
</template>
@@ -147,13 +147,13 @@ Affichez une animation en plein écran quand vous charger des données.
147147
}
148148
},
149149
methods: {
150-
openFullScreen() {
150+
openFullScreen1() {
151151
this.fullscreenLoading = true;
152152
setTimeout(() => {
153153
this.fullscreenLoading = false;
154154
}, 2000);
155155
},
156-
openFullScreen() {
156+
openFullScreen2() {
157157
const loading = this.$loading({
158158
lock: true,
159159
text: 'Loading',

examples/docs/zh-CN/loading.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,13 @@
127127
<template>
128128
<el-button
129129
type="primary"
130-
@click="openFullScreen"
130+
@click="openFullScreen1"
131131
v-loading.fullscreen.lock="fullscreenLoading">
132132
指令方式
133133
</el-button>
134134
<el-button
135135
type="primary"
136-
@click="openFullScreen">
136+
@click="openFullScreen2">
137137
服务方式
138138
</el-button>
139139
</template>
@@ -146,13 +146,13 @@
146146
}
147147
},
148148
methods: {
149-
openFullScreen() {
149+
openFullScreen1() {
150150
this.fullscreenLoading = true;
151151
setTimeout(() => {
152152
this.fullscreenLoading = false;
153153
}, 2000);
154154
},
155-
openFullScreen() {
155+
openFullScreen2() {
156156
const loading = this.$loading({
157157
lock: true,
158158
text: 'Loading',

0 commit comments

Comments
 (0)