From dd8bba63c00c9b709c0c0550d3e41e0e88d3e621 Mon Sep 17 00:00:00 2001 From: liuye Date: Wed, 25 May 2022 16:58:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=AE=E6=89=B6=E7=94=B3=E6=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mods/work/AppHelpDeclaration/add.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mods/work/AppHelpDeclaration/add.vue b/src/mods/work/AppHelpDeclaration/add.vue index a0053af..e379721 100644 --- a/src/mods/work/AppHelpDeclaration/add.vue +++ b/src/mods/work/AppHelpDeclaration/add.vue @@ -27,7 +27,8 @@
*家庭人口数
- + +
@@ -121,6 +122,10 @@ export default { ...mapState(['user']) }, methods: { + householdNumberInput() { + this.form.householdNumber = this.form.householdNumber.replace(/[^\d]/g,'') + this.$forceUpdate() + }, helpCheck(e) { e.checked = !e.checked this.checkList = this.list.filter(e=>e.checked)