소스 검색

切换方法

tanxue 1 개월 전
부모
커밋
d1b3e8a4bc
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      pages/admin/Hetong/components/addKh.vue

+ 4 - 0
pages/admin/Hetong/components/addKh.vue

@@ -60,6 +60,10 @@ function handleShow() {
   popupRef.value.open();
 }
 
+function idCardChange(data) {
+	formData.idtype = formData.idtype == 1 ? 2 : 1;
+}
+
 // 保存
 function saveBtn(){
 	htAdd();