Skip to content

Commit

Permalink
修复密码保存
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrohy committed Jan 18, 2021
1 parent 25aaaf5 commit 8c62f11
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dependencies": {
"axios": "^0.19.2",
"core-js": "^3.8.2",
"element-ui": "^2.14.1",
"element-ui": "^2.15.0",
"sortablejs": "^1.13.0",
"vue": "^2.6.12",
"vuex": "^3.6.0",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion web/src/components/Terminal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export default {
let sshList = this.$store.state.sshList
if (sshList === null) {
if (this.savePass) {
sshList = `[{"host": "${sshInfo.host}", "username": "${sshInfo.username}", "port":${sshInfo.port}, "password":${sshInfo.password}}]`
sshList = `[{"host": "${sshInfo.host}", "username": "${sshInfo.username}", "port":${sshInfo.port}, "password":"${sshInfo.password}"}]`
} else {
sshList = `[{"host": "${sshInfo.host}", "username": "${sshInfo.username}", "port":${sshInfo.port}}]`
}
Expand Down
2 changes: 1 addition & 1 deletion web/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const AddAssetHtmlPlugin = require('add-asset-html-webpack-plugin')

const proxyTargetMap = {
prod: 'https://xxx.xxx.com/',
dev: 'http://127.0.0.1:5032'
dev: 'http://192.168.37.163:5032'
}
const proxyTarget = proxyTargetMap[process.env.API_TYPE] || proxyTargetMap.prod
const wsTarget = proxyTarget.replace('http', 'ws')
Expand Down

0 comments on commit 8c62f11

Please sign in to comment.