Skip to content

Commit

Permalink
update登陆页面
Browse files Browse the repository at this point in the history
  • Loading branch information
vpanda666 committed Jun 30, 2022
1 parent 873b056 commit 6466f1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion mock/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Mock from 'mockjs'
const conf = require("../src/config/config.ts")
// 设置拦截ajax请求的相应时间
Mock.setup({
timeout: '100-500'
timeout: '200-500'
})
//读取json文件
function getJsonFile(filePath:string = '') {
Expand Down
7 changes: 2 additions & 5 deletions src/views/auth/login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
</el-form-item>
<el-form-item>
<div class="repo">
<span><a :href="data.table.github" class="repo-link" target="_blank">Github Repo</a></span>
<span><a :href="data.table.gitee" class="repo-link" target="_blank">Gitee Repo</a></span>
<span><a :href="data.table.github" class="repo-link" target="_blank">Github</a></span>
<span><a :href="data.table.gitee" class="repo-link" target="_blank">Gitee</a></span>
</div>
</el-form-item>
<el-form-item>
Expand Down Expand Up @@ -74,7 +74,6 @@ export default defineComponent({
let year:string = date.getFullYear()
const data:any = reactive({
//Table列表相关数据
table: {
github: G.GITHUB_REPO_URL,
gitee: G.GITEE_REPO_URL,
Expand Down Expand Up @@ -106,8 +105,6 @@ export default defineComponent({
{ min: 6, max: 16, message: '密码长度' + ' 6 ~ 16', trigger: 'blur' },
],
},
//是否显示局部loading效果
loading: false,
// 已经提交过请求登陆,提交按钮变灰
isSubmit: false,
// 是否登陆成功,如果登陆成功,则隐藏form控件
Expand Down

0 comments on commit 6466f1f

Please sign in to comment.