修复AiUploader
This commit is contained in:
@@ -36,7 +36,7 @@ export default {
|
||||
return this.dictKey ? this.$dict.getDict(this.dict).map(e => ({
|
||||
value: e.dictValue,
|
||||
label: e.dictName
|
||||
})) : this.list
|
||||
})) : this.list || []
|
||||
}
|
||||
},
|
||||
data() {
|
||||
@@ -47,7 +47,7 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
mounted () {
|
||||
mounted() {
|
||||
this.dict && this.$dict.load(this.dict).then(() => {
|
||||
this.dictKey = this.dict
|
||||
})
|
||||
@@ -56,7 +56,6 @@ export default {
|
||||
handleConfirm(v) {
|
||||
this.selected = v
|
||||
this.$emit("data", this.selected)
|
||||
console.log(v)
|
||||
this.$emit("input", v[0].value)
|
||||
this.$forceUpdate()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user