Skip to content

Commit

Permalink
Merge pull request #209 from chenjianghua666/master
Browse files Browse the repository at this point in the history
修复bug
  • Loading branch information
ruanshudong authored Jan 18, 2024
2 parents 84f36d9 + 7b2e919 commit 53ea279
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions client/src/pages/server/manage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1790,10 +1790,10 @@ export default {
if (regHost && regHost.test(tmp[i])) {
flag++; // eslint-disable-line
// 提取参数
var ip = tmp[i].split(/\s/)[1];
if (regIP.test(ip)) {
this.servantDetailModal.model.node_name = ip;
}
// var ip = tmp[i].split(/\s/)[1];
// if (regIP.test(ip)) {
// this.servantDetailModal.model.node_name = ip;
// }
regHost = null;
}
Expand Down
2 changes: 1 addition & 1 deletion sso/dao/UserDao.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ UserDao.getUserIdList = async() => {

UserDao.getUserAuthList = async() => {

return await sequelize.query('select u.uid as uid, a.`role`, a.`flag` from t_user_info as u left join t_auth as a on u.`uid` = a.`uid` order by uid', { type: QueryTypes.SELECT });
return await sequelize.query('select u.uid as uid, u.update_time as update_time, a.`role`, a.`flag` from t_user_info as u left join t_auth as a on u.`uid` = a.`uid` order by uid', { type: QueryTypes.SELECT });
};

UserDao.modifyPass = async (uid, password) => {
Expand Down
1 change: 1 addition & 0 deletions sso/db-service/user/UserService.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ UserService.getUserAuthList = async() => {
items.push({
uid: item.uid,
name: item.uid,
update_time: item.update_time,
authorization: []
});

Expand Down

0 comments on commit 53ea279

Please sign in to comment.