|
@@ -30,10 +30,10 @@
|
|
|
</div>
|
|
|
</el-popover>
|
|
|
</div>
|
|
|
- <el-dialog title="修改密码" :visible.sync="isResetPwd" v-if="isResetPwd" width="30%" append-to-body>
|
|
|
+ <el-dialog title="修改密码" :visible.sync="isResetPwd" v-if="isResetPwd" :close="close" width="30%" append-to-body>
|
|
|
<resetPwd :user="user" />
|
|
|
</el-dialog>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
@@ -94,6 +94,9 @@ import Cookies from 'js-cookie';
|
|
|
this.isResetPwd=true
|
|
|
});
|
|
|
},
|
|
|
+ close(){
|
|
|
+ this.isResetPwd=false;
|
|
|
+ },
|
|
|
async logout() {
|
|
|
this.$confirm('确定注销并退出系统吗?', '提示', {
|
|
|
confirmButtonText: '确定',
|