|
|
@@ -84,9 +84,6 @@
|
|
|
return str
|
|
|
},
|
|
|
},
|
|
|
- onHide() {
|
|
|
- this.userList = []
|
|
|
- },
|
|
|
methods: {
|
|
|
async getList() {
|
|
|
this.loading = true
|
|
|
@@ -110,12 +107,14 @@
|
|
|
}
|
|
|
},
|
|
|
open() {
|
|
|
+ this.userList = []
|
|
|
+ this.selected = null
|
|
|
this.selectVisible = true
|
|
|
this.getList()
|
|
|
},
|
|
|
close() {
|
|
|
- this.selectVisible = false
|
|
|
this.$emit('close', this.selected)
|
|
|
+ this.selectVisible = false
|
|
|
},
|
|
|
radioChange(n) {
|
|
|
this.selected = this.userList.find((item) => item.id == n)
|