lifanagju_citu 3 ヶ月 前
コミット
cd6b20b56f
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/views/recruit/personal/company/index.vue

+ 1 - 1
src/views/recruit/personal/company/index.vue

@@ -105,7 +105,7 @@ const getCompanyData = async () => {
     return
   }
   const params = { ...query.value, ...pages.value }
-  if (params.name?.includes('&')) params.name = decodeURIComponent(params.name)
+  if (params?.name) params.name = decodeURIComponent(params.name)
   const { list, total: number } = await getEnterpriseSearch(params)
   if (!list.length) {
     items.value = []