Skip to content

Commit

Permalink
✨完成功能
Browse files Browse the repository at this point in the history
  • Loading branch information
mewhz committed Jun 4, 2023
1 parent 85090e6 commit e34c7ae
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 7 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,16 @@
>2021/10/28
>
>项目上线 !!!
### 启动

pastecode-ui:

前端项目,npm install 安装依赖

pastecode-system:

后端项目,运行 pom.xml

runCode文件夹修改 constant.RunConstant 中的RUN_DIRECTORY

14 changes: 7 additions & 7 deletions pastecode-ui/src/views/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
<el-col :offset="8" :span="9">
<h1 style="text-align: center">用户登录</h1>
<el-form :model="user" :rules="rules" ref="ruleForm">
<el-form-item prop="account">
<el-form-item prop="account" label="账号">
<el-input type="text" v-model="user.account" autocomplete="off" placeholder="账号"/>
</el-form-item>
<el-form-item prop="password">
<el-form-item prop="password" label="密码">
<el-input type="password" v-model="user.password" autocomplete="off" placeholder="密码"/>
</el-form-item>
</el-form>
<div style="text-align: center">
<el-button @click="submit">登录</el-button>
<el-button @click="register">注册</el-button>
<el-button @click="testLogin1">星落登录</el-button>
<el-button @click="testLogin2">mewhz登录</el-button>
<el-button @click="randomLogin">{{ randomAccount }} 登录</el-button>
<el-button @click="submit" type="primary">登录</el-button>
<el-button @click="register" type="success">注册</el-button>
<!-- <el-button @click="testLogin1">星落登录</el-button>-->
<!-- <el-button @click="testLogin2">mewhz登录</el-button>-->
<!-- <el-button @click="randomLogin">{{ randomAccount }} 登录</el-button>-->
</div>
</el-col>
</div>
Expand Down

0 comments on commit e34c7ae

Please sign in to comment.