From 00a4dee4ec76e7ce9509733988e033fdc3e09a97 Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Wed, 11 Nov 2020 10:28:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E5=86=8C=E6=89=8B=E6=9C=BA=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login/Sign.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/views/login/Sign.vue b/src/views/login/Sign.vue index 3c8c0de..61a38cb 100644 --- a/src/views/login/Sign.vue +++ b/src/views/login/Sign.vue @@ -28,12 +28,14 @@ @change="getquhao" class="getcode" style="width: 50%" + option-label-prop="label" show-search > {{ i.name }}+{{ i.code }} @@ -394,6 +396,13 @@ export default defineComponent({ function navto(url: string) { router.push(url); } + + function getquhao(e?: any){ + console.log(e) + phone.value.quhao = e.toString() + phone.value.quhao = phone.value.quhao.split("+")[1]; + } + return { formLayout, getcode, @@ -408,6 +417,7 @@ export default defineComponent({ navto, lan, quhaolist, + getquhao }; }, });