mirror of https://github.com/ElemeFE/element
parent
096966a4c8
commit
a78f4b9e5a
|
@ -128,13 +128,13 @@ Show a full screen animation while loading data.
|
|||
<template>
|
||||
<el-button
|
||||
type="primary"
|
||||
@click="openFullScreen"
|
||||
@click="openFullScreen1"
|
||||
v-loading.fullscreen.lock="fullscreenLoading">
|
||||
As a directive
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
@click="openFullScreen">
|
||||
@click="openFullScreen2">
|
||||
As a service
|
||||
</el-button>
|
||||
</template>
|
||||
|
@ -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',
|
||||
|
|
|
@ -128,13 +128,13 @@ Muestra una animación de pantalla completa mientras se cargan los datos
|
|||
<template>
|
||||
<el-button
|
||||
type="primary"
|
||||
@click="openFullScreen"
|
||||
@click="openFullScreen1"
|
||||
v-loading.fullscreen.lock="fullscreenLoading">
|
||||
Como directiva
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
@click="openFullScreen">
|
||||
@click="openFullScreen2">
|
||||
Como servicio
|
||||
</el-button>
|
||||
</template>
|
||||
|
@ -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',
|
||||
|
|
|
@ -128,13 +128,13 @@ Affichez une animation en plein écran quand vous charger des données.
|
|||
<template>
|
||||
<el-button
|
||||
type="primary"
|
||||
@click="openFullScreen"
|
||||
@click="openFullScreen1"
|
||||
v-loading.fullscreen.lock="fullscreenLoading">
|
||||
Comme directive
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
@click="openFullScreen">
|
||||
@click="openFullScreen2">
|
||||
Comme service
|
||||
</el-button>
|
||||
</template>
|
||||
|
@ -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',
|
||||
|
|
|
@ -127,13 +127,13 @@
|
|||
<template>
|
||||
<el-button
|
||||
type="primary"
|
||||
@click="openFullScreen"
|
||||
@click="openFullScreen1"
|
||||
v-loading.fullscreen.lock="fullscreenLoading">
|
||||
指令方式
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
@click="openFullScreen">
|
||||
@click="openFullScreen2">
|
||||
服务方式
|
||||
</el-button>
|
||||
</template>
|
||||
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue