|
@@ -272,8 +272,8 @@ p {
|
|
|
:loading="loading"
|
|
|
>
|
|
|
<el-option
|
|
|
- v-for="item in playerList"
|
|
|
- :key="item.user_id"
|
|
|
+ v-for="(item,index) in playerList"
|
|
|
+ :key="index"
|
|
|
:label="item.label"
|
|
|
:value="item.user_id"
|
|
|
></el-option>
|
|
@@ -530,7 +530,7 @@ export default {
|
|
|
remoteMethod(query) {
|
|
|
if (query !== "") {
|
|
|
this.loading = true;
|
|
|
- this.$api.getPlayerList({ usercode: query }).then((res) => {
|
|
|
+ this.$api.getUserSearch({ usercode: query }).then((res) => {
|
|
|
this.playerList = res.data.data;
|
|
|
this.$set(this.playerList, res.data.data);
|
|
|
this.loading = false;
|