账号列表登录提示改为90天

uat_us
wangxiaoshuang 2024-11-12 17:09:09 +08:00
parent f34faa7db3
commit 485a53011d
1 changed files with 2 additions and 2 deletions

View File

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