增加登录注册 回车事件

pull/3/head
xiaoyu 4 years ago
parent d72faa2a46
commit c66c304e81
  1. 1
      fir_client/src/components/FirApps.vue
  2. 2
      fir_client/src/components/FirLogin.vue
  3. 2
      fir_client/src/components/FirRegist.vue
  4. 2
      fir_ser/fir_ser/settings.py

@ -185,6 +185,7 @@
placeholder="请输入名称搜索"
v-model="keysearch"
@click="searchapps"
@keyup.enter.native="searchapps"
clearable>
</el-input>
</el-col>

@ -39,7 +39,7 @@
<el-form-item style="height: 40px">
<el-row style="height: 40px">
<el-col :span="16">
<el-input placeholder="请输入验证码" v-model="form.authcode" maxlength="6"></el-input>
<el-input placeholder="请输入验证码" v-model="form.authcode" maxlength="6" @keyup.enter.native="onSubmit"></el-input>
</el-col>
<el-col :span="8">
<el-image

@ -63,7 +63,7 @@
</el-form-item>
<el-form-item>
<el-input v-model="form.password2" prefix-icon="el-icon-lock" placeholder="确认密码"
show-password></el-input>
show-password @keyup.enter.native="onRegist"></el-input>
</el-form-item>
<el-form-item>

@ -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

Loading…
Cancel
Save