Skip to content

Commit

Permalink
revert example/play/index.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
FAKER-A committed May 22, 2019
1 parent 4a51af4 commit bd60c40
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions examples/play/index.vue
Original file line number Diff line number Diff line change
@@ -1,32 +1,15 @@
<template>
<div>
<div
style="width: 400px;height: 400px"
v-loading="loading"
element-loading-text="拼命加载中"
element-loading-spinner="el-icon-loading"
element-loading-background="rgba(0, 0, 0, 0.8)">
</div>
<el-button @click="clickMe">狂点我</el-button>
<div style="margin: 20px;">
<el-input v-model="input" placeholder="请输入内容"></el-input>
</div>
</template>

<script>
export default {
data() {
return {
loading: true
input: 'Hello Element UI!'
};
},
mounted() {
setTimeout(() => {
this.loading = false
}, 3000)
},
methods: {
clickMe() {
this.loading = true
}
},
}
};
</script>

0 comments on commit bd60c40

Please sign in to comment.