style:加载中
Showing
1 changed file
with
7 additions
and
2 deletions
1 | <template> | 1 | <template> |
2 | <el-dialog :visible.sync="dialogVisible" :width="width" :fullscreen="fullscreen" top="0" :append-to-body="true" | 2 | <el-dialog :visible.sync="dialogVisible" :width="width" v-loading="saveloding" :element-loading-text="loadingText" |
3 | :lock-scroll="true" :close-on-click-modal="false" @close="closeDialog" :key="key" | 3 | element-loading-spinner="el-icon-loading" element-loading-background="rgba(0, 0, 0, 0.8)" :fullscreen="fullscreen" |
4 | top="0" :append-to-body="true" :lock-scroll="true" :close-on-click-modal="false" @close="closeDialog" :key="key" | ||
4 | :custom-class="isMain ? 'mainCenter dialogBox' : 'contentCenter dialogBox'" :destroy-on-close="true" ref="dialogBox" | 5 | :custom-class="isMain ? 'mainCenter dialogBox' : 'contentCenter dialogBox'" :destroy-on-close="true" ref="dialogBox" |
5 | id="dialogBox"> | 6 | id="dialogBox"> |
6 | <div slot="title"> | 7 | <div slot="title"> |
... | @@ -62,6 +63,10 @@ export default { | ... | @@ -62,6 +63,10 @@ export default { |
62 | type: Boolean, | 63 | type: Boolean, |
63 | default: false, | 64 | default: false, |
64 | }, | 65 | }, |
66 | loadingText: { | ||
67 | type: String, | ||
68 | default: '拼命加载中', | ||
69 | } | ||
65 | }, | 70 | }, |
66 | data () { | 71 | data () { |
67 | return { | 72 | return { | ... | ... |
-
Please register or sign in to post a comment