File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
src/components/page/friends Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 8
8
返回
9
9
</router-link >
10
10
</P >
11
- <!-- <el-button @click.native.prevent="handlePreStep" >返回</el-button>-->
12
11
<!-- 列表-->
13
12
<el-table :data =" friendsRecords" highlight-current-row v-loading =" listLoading"
14
13
style =" width : 100% ;" >
59
58
// 时间处理
60
59
import moment from ' moment' ;
61
60
import config from ' ../../../config' ;
62
- // import {getFriendsInRow} from '../../../api';
63
61
import {getFriendsInRow } from ' ../../../api/users' ;
64
62
65
63
export default {
90
88
methods: {
91
89
formatBeijingDate (row ) {
92
90
93
- let beijingDate = ' '
91
+ let beijingDate = ' ' ;
94
92
if (row ._created ) {
95
93
beijingDate = moment (row ._created ).add (8 , ' hours' ).format (' YYYY-MM-DD HH:mm:ss' )
96
94
}
134
132
// 获取分组内的好友
135
133
queryFriendsInRow () {
136
134
137
- let ids = ' '
135
+ let ids = ' ' ;
138
136
139
137
if (this .friendIds ) {
140
138
141
139
for (let i = 0 ; i < this .friendIds .length ; i++ ) {
142
- ids += ' "' + this .friendIds [i] + ' "'
140
+ ids += ' "' + this .friendIds [i] + ' "' ;
143
141
144
142
if (i < this .friendIds .length - 1 ) {
145
143
ids += " ,"
You can’t perform that action at this time.
0 commit comments