diff --git a/src/common/lang/en-us.js b/src/common/lang/en-us.js index 54816d5..4d1a84e 100644 --- a/src/common/lang/en-us.js +++ b/src/common/lang/en-us.js @@ -235,7 +235,7 @@ module.exports = { heads: 'Heads', account: 'Account', userName: 'User Name', - post: 'post', + post: 'Post', selectedAccount: 'Selected account?', // 新增、编辑用户 loginPassword: 'Login Password', diff --git a/src/mixins/JeroListMixin.js b/src/mixins/JeroListMixin.js index 5fb5d2f..d75a486 100644 --- a/src/mixins/JeroListMixin.js +++ b/src/mixins/JeroListMixin.js @@ -33,7 +33,7 @@ export const JeroListMixin = { pageSize: 10, pageSizeOptions: ['10', '30', '50', '100', '150', '200'], showTotal: (total, range) => { - return range[0] + '-' + range[1] + ' ' + this.$t('total') + total + this.$t('strip') + return range[0] + '-' + range[1] + ' ' + this.$t('total') + ' ' + total + ' ' + this.$t('strip') }, showQuickJumper: true, showSizeChanger: true, @@ -417,7 +417,14 @@ export const JeroListMixin = { if (info.file.response.success) { // this.$message.success(`${info.file.name} 文件上传成功`); if (info.file.response.code === 201) { - const { message, result: { msg, fileUrl, fileName } } = info.file.response + const { + message, + result: { + msg, + fileUrl, + fileName + } + } = info.file.response const href = window._CONFIG.domianURL + fileUrl this.$warning({ title: message, diff --git a/src/views/user/Login.vue b/src/views/user/Login.vue index 1c5637b..029202a 100644 --- a/src/views/user/Login.vue +++ b/src/views/user/Login.vue @@ -12,7 +12,7 @@ v-decorator="['username',{initialValue:'', rules: validatorRules.username.rules,validateTrigger: 'blur'}]" type="text" placeholder="请输入帐号"> - + @@ -28,10 +28,21 @@ :type="passwordType" autocomplete="false" placeholder="请输入密码" + @paste.native.capture.prevent="handleOperate" > - - - + + + @@ -48,13 +59,21 @@ @change="inputCodeChange" autocomplete="off" placeholder="请输入验证码"> - + - - + + @@ -86,7 +105,7 @@ :loading="loginBtn" @click.stop.prevent="handleSubmit" :disabled="loginBtn"> - {{ loginBtn ? "登录中" : "登录" }} + {{ loginBtn ? '登录中' : '登录' }} @@ -94,7 +113,11 @@ -