会议室bug修改
This commit is contained in:
parent
ee56af20ec
commit
ebd946b333
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue