Explorar el Código

addNotice fuEditor

xjc hace 3 meses
padre
commit
16dd693673
Se han modificado 2 ficheros con 4 adiciones y 4 borrados
  1. 3 3
      src/views/comments/consult.vue
  2. 1 1
      src/views/match/addArticle.vue

+ 3 - 3
src/views/comments/consult.vue

@@ -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;

+ 1 - 1
src/views/match/addArticle.vue

@@ -83,7 +83,7 @@
   </section>
 </template>
 <script>
-import fuEditor from "@/components/fuEditor/index.vue";
+import fuEditor from "@/components/fuEditor/wangE5.vue";
 export default {
   components: {
     fuEditor