|
@@ -124,7 +124,7 @@ export default {
|
124
|
124
|
methods: {
|
125
|
125
|
...mapUserActions([
|
126
|
126
|
'getWeatherInfo',
|
127
|
|
- 'getPerson'
|
|
127
|
+ 'getPersonB'
|
128
|
128
|
]),
|
129
|
129
|
...mapPageActions([
|
130
|
130
|
'getPagesList'
|
|
@@ -174,11 +174,11 @@ export default {
|
174
|
174
|
this.getWeatherInfo()
|
175
|
175
|
},
|
176
|
176
|
getPersonList () {
|
177
|
|
- this.getPerson().then(res => {
|
|
177
|
+ this.getPersonB().then(res => {
|
178
|
178
|
if (res) {
|
179
|
179
|
this.returnUserList({
|
180
|
180
|
firstName: (res.classId || res.classId === 1) ? '' : res.personName,
|
181
|
|
- words: res.words.replace('{{name}}', res.personName),
|
|
181
|
+ words: (res.words || '').replace('{{name}}', res.personName),
|
182
|
182
|
show: false
|
183
|
183
|
})
|
184
|
184
|
}
|