mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-22 05:17:49 +08:00
Compare commits
3 Commits
5a15074b5e
...
0e4bc5e82d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0e4bc5e82d | ||
|
|
def1a813a1 | ||
|
|
34d1dbb399 |
@ -161,18 +161,6 @@ media:
|
||||
hook-ip: 172.19.128.50
|
||||
# [必须修改] zlm服务器的http.port
|
||||
http-port: 80
|
||||
# [可选] zlm服务器的http.sslport, 置空使用zlm配置文件配置
|
||||
http-ssl-port:
|
||||
# [可选] zlm服务器的rtmp.port, 置空使用zlm配置文件配置
|
||||
rtmp-port:
|
||||
# [可选] zlm服务器的rtmp.sslport, 置空使用zlm配置文件配置
|
||||
rtmp-ssl-port:
|
||||
# [可选] zlm服务器的 rtp_proxy.port, 置空使用zlm配置文件配置
|
||||
rtp-proxy-port:
|
||||
# [可选] zlm服务器的 rtsp.port, 置空使用zlm配置文件配置
|
||||
rtsp-port:
|
||||
# [可选] zlm服务器的 rtsp.sslport, 置空使用zlm配置文件配置
|
||||
rtsp-ssl-port:
|
||||
# [可选] 是否自动配置ZLM, 如果希望手动配置ZLM, 可以设为false, 不建议新接触的用户修改
|
||||
auto-config: true
|
||||
# [可选] zlm服务器的hook.admin_params=secret
|
||||
|
||||
@ -13,10 +13,10 @@
|
||||
<div id="shared" style="margin-right: 20px;">
|
||||
<el-form ref="passwordForm" :rules="rules" status-icon label-width="80px">
|
||||
<el-form-item label="新密码" prop="newPassword">
|
||||
<el-input v-model="newPassword" autocomplete="off" />
|
||||
<el-input v-model="newPassword" autocomplete="off" type="password" />
|
||||
</el-form-item>
|
||||
<el-form-item label="确认密码" prop="confirmPassword">
|
||||
<el-input v-model="confirmPassword" autocomplete="off" />
|
||||
<el-input v-model="confirmPassword" autocomplete="off" type="password" />
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item>
|
||||
@ -88,6 +88,14 @@ export default {
|
||||
}
|
||||
},
|
||||
onSubmit: function() {
|
||||
if (this.newPassword !== this.confirmPassword) {
|
||||
this.$message({
|
||||
showClose: true,
|
||||
message: '两次输入密码不一致!',
|
||||
type: 'error'
|
||||
})
|
||||
return
|
||||
}
|
||||
this.$store.dispatch('user/changePasswordForAdmin', {
|
||||
password: this.newPassword,
|
||||
userId: this.form.id
|
||||
|
||||
Loading…
Reference in New Issue
Block a user