From c66c304e810a72938e87bdb20033c7e872ce6647 Mon Sep 17 00:00:00 2001 From: xiaoyu Date: Sun, 8 Nov 2020 11:55:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=99=BB=E5=BD=95=E6=B3=A8?= =?UTF-8?q?=E5=86=8C=20=E5=9B=9E=E8=BD=A6=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_client/src/components/FirApps.vue | 1 + fir_client/src/components/FirLogin.vue | 2 +- fir_client/src/components/FirRegist.vue | 2 +- fir_ser/fir_ser/settings.py | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/fir_client/src/components/FirApps.vue b/fir_client/src/components/FirApps.vue index 92f0be9..78cd2d6 100644 --- a/fir_client/src/components/FirApps.vue +++ b/fir_client/src/components/FirApps.vue @@ -185,6 +185,7 @@ placeholder="请输入名称搜索" v-model="keysearch" @click="searchapps" + @keyup.enter.native="searchapps" clearable> diff --git a/fir_client/src/components/FirLogin.vue b/fir_client/src/components/FirLogin.vue index d01f3ac..972ad48 100644 --- a/fir_client/src/components/FirLogin.vue +++ b/fir_client/src/components/FirLogin.vue @@ -39,7 +39,7 @@ - + + show-password @keyup.enter.native="onRegist"> diff --git a/fir_ser/fir_ser/settings.py b/fir_ser/fir_ser/settings.py index eda29eb..5dedc86 100644 --- a/fir_ser/fir_ser/settings.py +++ b/fir_ser/fir_ser/settings.py @@ -24,7 +24,7 @@ SECRET_KEY = 'j!g@^bc(z(a3*i&kp$_@bgb)bug&^#3=amch!3lz&1x&s6ss6t' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = ['127.0.0.1'] +ALLOWED_HOSTS = ['127.0.0.1','synchrotron'] # Application definition