mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-16 16:05:52 +08:00
先注释掉未实际使用功能,后续优化密码修改内容
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getPwdStatus } from '@/api/account';
|
// import { getPwdStatus } from '@/api/account';
|
||||||
export default {
|
export default {
|
||||||
name: 'AccountSafe',
|
name: 'AccountSafe',
|
||||||
data () {
|
data () {
|
||||||
@@ -40,15 +40,15 @@ export default {
|
|||||||
this.$router.push({name: 'ModifyPwd', query: { status: 1 }})
|
this.$router.push({name: 'ModifyPwd', query: { status: 1 }})
|
||||||
},
|
},
|
||||||
// 获取密码状态
|
// 获取密码状态
|
||||||
getPwdStatus () {
|
// getPwdStatus () {
|
||||||
getPwdStatus().then(res => {
|
// getPwdStatus().then(res => {
|
||||||
if (res) {
|
// if (res) {
|
||||||
this.pwdStatus = '修改密码'
|
// this.pwdStatus = '修改密码'
|
||||||
} else {
|
// } else {
|
||||||
this.pwdStatus = '设置密码'
|
// this.pwdStatus = '设置密码'
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user