提交 99ea8f20 authored 作者: lihuihui's avatar lihuihui

修改密码

上级 6bd50f00
......@@ -24,7 +24,7 @@
</template>
</ul>
<div class="user">
<!-- <router-link to="/account/password">修改密码</router-link> -->
<router-link to="/account/password">修改密码</router-link>
<span @click="logout">退出登录</span>
</div>
</div>
......
<template>
<app-container title="修改密码">
<app-container>
<el-form :model="ruleForm" :rules="rules" label-width="100px" ref="ruleForm" class="form">
<el-form-item label="旧密码" prop="old_password">
<el-input type="password" v-model="ruleForm.old_password" placeholder="请输入密码"></el-input>
......@@ -80,5 +80,27 @@ export default {
<style lang="scss" scoped>
.form {
max-width: 340px;
padding-top: 30px;
}
::v-deep{
.el-form-item__label{
color: #58C0DA;
}
.el-input__inner{
background: none;
border: 1px solid #58C0D9;
color: #58C0DA;
}
.el-textarea__inner{
background: none;
border: 1px solid #58C0D9;
color: #58C0DA;
}
.el-form-item.is-error .el-input__inner{
border: 1px solid #58C0D9;
}
.el-form-item__error{
color: #58C0DA;
}
}
</style>
......@@ -110,7 +110,7 @@ export default {
this.caseItemList = response.data[0].children
// this.tabCase(parseInt(0))
const index = parseInt(window.sessionStorage.homeTabIndex)
index ? this.tabCase(index) : this.tabCase()
index ? this.tabCase(index) : this.tabCase(0)
})
.finally(() => {
})
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论