mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-13 11:34:02 +08:00
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user