Compare commits
No commits in common. "2952652dbcc1947a4c25e9536a57207bbc984850" and "7d9cededbf7cdb38f8dda12b1f56e7b8e2749fce" have entirely different histories.
2952652dbc
...
7d9cededbf
|
@ -26,7 +26,7 @@
|
|||
<!-- 选择自定义slot -->
|
||||
<template slot="tip-slot" slot-scope="{ scope }">
|
||||
<i
|
||||
v-if="diffTime(scope.row.LastLoginTime) >= 90"
|
||||
v-if="diffTime(scope.row.LastLoginTime) >= 6"
|
||||
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, 'days')
|
||||
return moment(new Date()).diff(time, 'months')
|
||||
},
|
||||
// 获取用户信息
|
||||
getList() {
|
||||
|
|
Loading…
Reference in New Issue