| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <template>
- <el-dialog
- :visible.sync="show"
- :close-on-click-modal="false"
- title="自动更新中"
- :show-close="false"
- @update:visible="close"
- >
- <template>
- <div class="desc line-30 fs-16">{{res.desc}}</div>
- </template>
- <slot></slot>
- </el-dialog>
- </template>
- <script>
- export default {
- name: 'FullDialog',
- components: {
- },
- props: {
- show: {
- type: Boolean,
- default: false
- },
- res:{
- type: Object,
- default:()=>{
- return {}
- }
- },
- },
- data() {
- return {
- }
- },
- computed: {
- },
- watch: {
- },
- destroyed() {
- },
- mounted() {
- },
- created() {
- },
- methods: {
- close() {
- this.$emit('onClose')
- this.$emit('update:show', false)
- },
- }
- }
- </script>
- <style lang="scss" scoped>
- </style>
|