wangxy il y a 1 mois
Parent
commit
41dcf13746
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      pages/admin/Hetong/components/zhaoguLaoren.vue

+ 3 - 1
pages/admin/Hetong/components/zhaoguLaoren.vue

@@ -53,7 +53,9 @@
 	}
 
 	function radioChange(value) {
-		data.hetong.shentiqingkuang = value;
+    if (data.hetong.shentiqingkuang == value) {
+      data.hetong.shentiqingkuang = 0
+    } else {data.hetong.shentiqingkuang = value}
 	}
 </script>