Browse Source

Merge remote-tracking branch 'origin/master'

zhangying 11 months ago
parent
commit
cf9fadc018
1 changed files with 4 additions and 2 deletions
  1. 4 2
      h5app/src/components/postSelectionLike.vue

+ 4 - 2
h5app/src/components/postSelectionLike.vue

@@ -103,8 +103,10 @@ export default defineComponent({
     }
 
     const onConfirm = () => {
-      resultInfo.text = searchParams.professionName;
-      context.emit("resultInfo", resultInfo);
+      if(searchParams.professionName){
+        resultInfo.text = searchParams.professionName;
+        context.emit("resultInfo", resultInfo);
+      }
       onOpen();
     }