tangjunhao 6 months ago
parent
commit
54a26f20f9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/home.vue

+ 2 - 2
src/views/home.vue

@@ -2648,9 +2648,9 @@ const intxfoiladflow = () => {
     console.log('1:', res1.checked);
     console.log('2:', res2.checked);
 
-    if(res.hasOwnProperty("xfid")){
+    if(res1.hasOwnProperty("xfid")){
       Xfoilref.value.getxfoilAssign(res1);
-    }else if(res.hasOwnProperty("adid")){
+    }else if(res2.hasOwnProperty("adid")){
       ADflowref.value.getadflowAssign(res2);
     }