会议室bug修改
This commit is contained in:
parent
ee56af20ec
commit
ebd946b333
|
@ -318,6 +318,9 @@ export default {
|
||||||
onRemove (file, fileList) {
|
onRemove (file, fileList) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
if (fileList.length == 0) {
|
if (fileList.length == 0) {
|
||||||
|
this.ruleForm.pic =null
|
||||||
|
this.fileList = []
|
||||||
|
this.picImg =''
|
||||||
this.checkImgSuccess = false // 检查图片是否加载成功
|
this.checkImgSuccess = false // 检查图片是否加载成功
|
||||||
// this.$refs.ruleForm.validate() //删除图片,重新触发校验
|
// this.$refs.ruleForm.validate() //删除图片,重新触发校验
|
||||||
}
|
}
|
||||||
|
@ -358,7 +361,7 @@ export default {
|
||||||
this.$http.get(`/meeting/${row.id}`).then(({ data: res }) => {
|
this.$http.get(`/meeting/${row.id}`).then(({ data: res }) => {
|
||||||
this.dialogFormVisible = true
|
this.dialogFormVisible = true
|
||||||
this.ruleForm = res.data
|
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 }
|
// let imgUrl = { name: res.data.name, url: res.data.pic }
|
||||||
// this.fileList.push(imgUrl)
|
// this.fileList.push(imgUrl)
|
||||||
this.picImg = res.data.pic
|
this.picImg = res.data.pic
|
||||||
|
|
Loading…
Reference in New Issue