Просмотр исходного кода

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

peter 1 месяц назад
Родитель
Сommit
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,