3cdcb04b by renchao@pashanhoo.com

style:系统弹窗的修改

1 parent f17469e2
......@@ -56,7 +56,9 @@
isShow (newValue) {
this.editItem = this.loadViewFn(this.editItem)
document.body.appendChild(this.$el);
this.myShow = newValue
this.$nextTick(() => {
this.myShow = newValue
})
}
},
mounted () {
......
......@@ -53,9 +53,11 @@
},
watch: {
isShow (newValue) {
this.editItem = this.loadViewFn(this.editItem)
document.body.appendChild(this.$el);
this.$nextTick(() => {
this.editItem = this.loadViewFn(this.editItem)
document.body.appendChild(this.$el);
// this.editItem = this.loadViewFn(this.editItem)
// document.body.appendChild(this.$el);
this.myShow = newValue
})
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-21 09:25:47
* @LastEditTime: 2023-10-13 11:01:27
-->
<template>
<transition name="msgbox-fade">
......@@ -53,9 +53,9 @@
},
watch: {
isShow (newValue) {
this.editItem = this.loadViewFn(this.editItem)
document.body.appendChild(this.$el);
this.$nextTick(() => {
this.editItem = this.loadViewFn(this.editItem)
document.body.appendChild(this.$el);
this.myShow = newValue
})
}
......