29341
This commit is contained in:
@@ -178,7 +178,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="upload">
|
||||
<AiUploader :def.sync="photo" multiple placeholder="上传图片" :limit="1" action="/admin/file/add2"></AiUploader>
|
||||
<AiUploader :def.sync="photo" multiple placeholder="上传图片" :limit="1" action="/admin/file/add2" :disabled="id"></AiUploader>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -600,7 +600,7 @@ export default {
|
||||
this.flag = true
|
||||
this.id = query.id
|
||||
this.getInfo(this.id)
|
||||
this.photo = this.form.photo
|
||||
|
||||
} else {
|
||||
this.form.currentAreaId = this.user.areaId
|
||||
}
|
||||
@@ -780,6 +780,7 @@ export default {
|
||||
...this.form,
|
||||
...res.data
|
||||
}
|
||||
this.photo = [{url:this.form.photo}]
|
||||
|
||||
if(this.form.photo) {
|
||||
this.form.files = [{url: this.form.photo}]
|
||||
|
||||
Reference in New Issue
Block a user