会议室bug修改

This commit is contained in:
gongjiale 2022-12-28 16:01:05 +08:00
parent ee56af20ec
commit ebd946b333
1 changed files with 4 additions and 1 deletions

View File

@ -318,6 +318,9 @@ export default {
onRemove (file, fileList) {
this.$nextTick(() => {
if (fileList.length == 0) {
this.ruleForm.pic =null
this.fileList = []
this.picImg =''
this.checkImgSuccess = false //
// this.$refs.ruleForm.validate() //,
}
@ -358,7 +361,7 @@ export default {
this.$http.get(`/meeting/${row.id}`).then(({ data: res }) => {
this.dialogFormVisible = true
this.ruleForm = res.data
if (res.data.pic != null) {
if (res.data.pic != null && res.data.pic != '') {
// let imgUrl = { name: res.data.name, url: res.data.pic }
// this.fileList.push(imgUrl)
this.picImg = res.data.pic