huangbin 4 vuotta sitten
vanhempi
commit
1c810b61b2
2 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 1 1
      public/config/app.config.json
  2. 1 0
      src/views/setting/friends/index.vue

+ 1 - 1
public/config/app.config.json

@@ -1,3 +1,3 @@
 {
-    "apiUrl": "http://192.168.31.139:8080/cfg?key=test_139"
+    "apiUrl": "http://192.168.31.204:8080/cfg?key=test_204"
 }

+ 1 - 0
src/views/setting/friends/index.vue

@@ -101,6 +101,7 @@ export default defineComponent({
                 .then((res) => {
                     if (!value) {
                         myFriends.value = res; // 我的朋友
+                        searchFriend.value = res
                     } else {
                         const findResult = myFriends.value.filter((e) => String(e.frienduserid).includes(value));
                         searchFriend.value = [...findResult, ...res];