Compare commits

...

2 Commits

Author SHA1 Message Date
wangxiaoshuang 2952652dbc Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web
continuous-integration/drone/push Build is passing Details
2024-11-12 17:09:31 +08:00
wangxiaoshuang 485a53011d 账号列表登录提示改为90天 2024-11-12 17:09:09 +08:00
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@
<!-- 选择自定义slot --> <!-- 选择自定义slot -->
<template slot="tip-slot" slot-scope="{ scope }"> <template slot="tip-slot" slot-scope="{ scope }">
<i <i
v-if="diffTime(scope.row.LastLoginTime) >= 6" v-if="diffTime(scope.row.LastLoginTime) >= 90"
class="el-icon-warning" class="el-icon-warning"
style="color: #f56c6c" style="color: #f56c6c"
:title="$t('system:userlist:tip:overTime')" :title="$t('system:userlist:tip:overTime')"
@ -363,7 +363,7 @@ export default {
}, },
methods: { methods: {
diffTime(time) { diffTime(time) {
return moment(new Date()).diff(time, 'months') return moment(new Date()).diff(time, 'days')
}, },
// //
getList() { getList() {