Преглед изворни кода

fix: cargo船货凑期.处理搜索记录赋值异常.

peter пре 1 месец
родитељ
комит
b61866147c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/pages/cargo-consolidation-request/index.vue

+ 1 - 1
src/pages/cargo-consolidation-request/index.vue

@@ -1100,7 +1100,7 @@ const search = (keyword: string) => {
   })
     .then((res: any) => {
       if (Array.isArray(res.data) && res.data.length) {
-        qcList.value.concat(
+        qcList.value = qcList.value.concat(
           res.data.map((i: any) => {
             return {
               ...i,