From d05a84e385b45db4a341c2bb6f0d55daff9b4cac Mon Sep 17 00:00:00 2001
From: Weiqi Wu <295290708@qq.com>
Date: Wed, 30 Oct 2019 14:27:11 +0800
Subject: [PATCH] Docs: Fix Loading demo (#17862) (#17863)
---
examples/docs/en-US/loading.md | 8 ++++----
examples/docs/es/loading.md | 8 ++++----
examples/docs/fr-FR/loading.md | 8 ++++----
examples/docs/zh-CN/loading.md | 8 ++++----
4 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/examples/docs/en-US/loading.md b/examples/docs/en-US/loading.md
index c7aebf06925..f51b3b234cd 100644
--- a/examples/docs/en-US/loading.md
+++ b/examples/docs/en-US/loading.md
@@ -128,13 +128,13 @@ Show a full screen animation while loading data.
As a directive
+ @click="openFullScreen2">
As a service
@@ -147,13 +147,13 @@ Show a full screen animation while loading data.
}
},
methods: {
- openFullScreen() {
+ openFullScreen1() {
this.fullscreenLoading = true;
setTimeout(() => {
this.fullscreenLoading = false;
}, 2000);
},
- openFullScreen() {
+ openFullScreen2() {
const loading = this.$loading({
lock: true,
text: 'Loading',
diff --git a/examples/docs/es/loading.md b/examples/docs/es/loading.md
index 36bb660d53b..c45a2a5e12a 100644
--- a/examples/docs/es/loading.md
+++ b/examples/docs/es/loading.md
@@ -128,13 +128,13 @@ Muestra una animación de pantalla completa mientras se cargan los datos
Como directiva
+ @click="openFullScreen2">
Como servicio
@@ -147,13 +147,13 @@ Muestra una animación de pantalla completa mientras se cargan los datos
}
},
methods: {
- openFullScreen() {
+ openFullScreen1() {
this.fullscreenLoading = true;
setTimeout(() => {
this.fullscreenLoading = false;
}, 2000);
},
- openFullScreen() {
+ openFullScreen2() {
const loading = this.$loading({
lock: true,
text: 'Loading',
diff --git a/examples/docs/fr-FR/loading.md b/examples/docs/fr-FR/loading.md
index 4b8f19672af..f679b7218df 100644
--- a/examples/docs/fr-FR/loading.md
+++ b/examples/docs/fr-FR/loading.md
@@ -128,13 +128,13 @@ Affichez une animation en plein écran quand vous charger des données.
Comme directive
+ @click="openFullScreen2">
Comme service
@@ -147,13 +147,13 @@ Affichez une animation en plein écran quand vous charger des données.
}
},
methods: {
- openFullScreen() {
+ openFullScreen1() {
this.fullscreenLoading = true;
setTimeout(() => {
this.fullscreenLoading = false;
}, 2000);
},
- openFullScreen() {
+ openFullScreen2() {
const loading = this.$loading({
lock: true,
text: 'Loading',
diff --git a/examples/docs/zh-CN/loading.md b/examples/docs/zh-CN/loading.md
index 19d7d47feb2..9bd6d7ee38b 100644
--- a/examples/docs/zh-CN/loading.md
+++ b/examples/docs/zh-CN/loading.md
@@ -127,13 +127,13 @@
指令方式
+ @click="openFullScreen2">
服务方式
@@ -146,13 +146,13 @@
}
},
methods: {
- openFullScreen() {
+ openFullScreen1() {
this.fullscreenLoading = true;
setTimeout(() => {
this.fullscreenLoading = false;
}, 2000);
},
- openFullScreen() {
+ openFullScreen2() {
const loading = this.$loading({
lock: true,
text: 'Loading',