Compare commits

..

No commits in common. "2952652dbcc1947a4c25e9536a57207bbc984850" and "7d9cededbf7cdb38f8dda12b1f56e7b8e2749fce" have entirely different histories.

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) >= 90" v-if="diffTime(scope.row.LastLoginTime) >= 6"
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, 'days') return moment(new Date()).diff(time, 'months')
}, },
// //
getList() { getList() {