Skip to content

Commit 0738e68

Browse files
committed
#update 只有个人中心才能修改密码
1 parent 816c054 commit 0738e68

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/views/user/detail.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<el-input type="password" v-model="detail.second_password"></el-input>
2323
</el-form-item>
2424
</template>
25-
<template v-if="dialogStatus === 'update'">
25+
<template v-if="dialogStatus === 'info'">
2626
<el-form-item label="密码">
2727
<el-button type="primary" size="small" @click="showPass">修改密码</el-button>
2828
</el-form-item>

src/views/userCenter/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div v-loading="detailLoading" style="min-height:400px;padding: 30px 20px 30px 0">
3-
<detail v-if="!detailLoading" :cancel-visible="false" width="820" :detail="temp" dialog-status="update" :status-options="statusOptions"></detail>
3+
<detail v-if="!detailLoading" :cancel-visible="false" width="820" :detail="temp" dialog-status="info" :status-options="statusOptions"></detail>
44
</div>
55
</template>
66
<script type="text/ecmascript-6">

0 commit comments

Comments
 (0)