mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-06 14:07:49 +08:00
Compare commits
8 Commits
4f434a20a8
...
a3136438ed
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a3136438ed | ||
|
|
a5674e82cb | ||
|
|
70979adf34 | ||
|
|
bf8707f4ef | ||
|
|
45cae46985 | ||
|
|
62eff3746c | ||
|
|
1bed6795e0 | ||
|
|
34d1dbb399 |
@ -33,7 +33,7 @@ WVP-PRO使用Spring boot开发,maven管理依赖。对于熟悉spring开发的
|
||||
ubuntu环境,以ubuntu 18为例:
|
||||
|
||||
``` bash
|
||||
apt-get install -y openjdk-21-jre git maven nodejs npm
|
||||
apt-get install -y openjdk-21-jdk git maven nodejs npm
|
||||
```
|
||||
|
||||
window环境,以windows10为例:
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#! /bin/sh
|
||||
#! /bin/bash
|
||||
|
||||
WORD_DIR=$(cd $(dirname $0); pwd)
|
||||
SERVICE_NAME="wvp"
|
||||
@ -13,7 +13,7 @@ if [ "$(id -u)" -ne 0 ]; then
|
||||
echo
|
||||
fi
|
||||
|
||||
# 当前目录直接搜索(不含子目录)
|
||||
# 当前目录直接搜索(不含子目录) bugfix: 这里使用了需要bash才可以支持的内容
|
||||
jar_files=(*.jar)
|
||||
|
||||
if [ ${#jar_files[@]} -eq 0 ]; then
|
||||
|
||||
2
pom.xml
2
pom.xml
@ -441,7 +441,7 @@
|
||||
<path>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>1.18.30</version>
|
||||
<version>1.18.38</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
</configuration>
|
||||
|
||||
@ -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