bug修改
This commit is contained in:
parent
b9253786ce
commit
2cce05442d
|
|
@ -60,10 +60,10 @@ export default {
|
||||||
FileUpload
|
FileUpload
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
// value: {
|
value: {
|
||||||
// type: String,
|
type: String,
|
||||||
// default: "",
|
default: "",
|
||||||
// },
|
},
|
||||||
/**
|
/**
|
||||||
* 文件类型 图片:image 文件:file
|
* 文件类型 图片:image 文件:file
|
||||||
*/
|
*/
|
||||||
|
|
@ -110,7 +110,7 @@ export default {
|
||||||
fileAddr: "",
|
fileAddr: "",
|
||||||
unionId: this.unionId,
|
unionId: this.unionId,
|
||||||
},
|
},
|
||||||
staticUrl: "",
|
staticUrl: this.value,
|
||||||
// 文件夹列表
|
// 文件夹列表
|
||||||
folderOptions: [],
|
folderOptions: [],
|
||||||
// 角色列表
|
// 角色列表
|
||||||
|
|
@ -125,12 +125,14 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
getRoleAll().then(res => {
|
if (this.vPublic === null){
|
||||||
this.roleOptions = res.data
|
getRoleAll().then(res => {
|
||||||
})
|
this.roleOptions = res.data
|
||||||
getFolder().then(res => {
|
})
|
||||||
this.folderOptions = res.data
|
getFolder().then(res => {
|
||||||
})
|
this.folderOptions = res.data
|
||||||
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
|
|
@ -151,6 +153,7 @@ export default {
|
||||||
*/
|
*/
|
||||||
changeAddress(addr) {
|
changeAddress(addr) {
|
||||||
this.form.fileAddr = addr
|
this.form.fileAddr = addr
|
||||||
|
this.uploadFile();
|
||||||
},
|
},
|
||||||
uploadFile() {
|
uploadFile() {
|
||||||
let flag = false
|
let flag = false
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue