|
|
@@ -82,7 +82,8 @@ export default {
|
|
|
return this.$props.readOnly || !this.isEdit
|
|
|
},
|
|
|
emptyArgs() {
|
|
|
- return { open: this.isReadOnly, text: '[ 暂无内容 ]' }
|
|
|
+ // el-form :disabled 变化后,之前的变化会保留,导致空内容请不掉,所以添加此参数
|
|
|
+ return { open: !this.$props.disabled && this.isReadOnly, text: '[ 暂无内容 ]' }
|
|
|
}
|
|
|
},
|
|
|
watch: {
|