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