Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

Commit

Permalink
Merge branch 'fix-auth'
Browse files Browse the repository at this point in the history
  • Loading branch information
veaba committed Mar 1, 2020
2 parents 411466e + 81a5db0 commit 1bb2f19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions client/src/chartLib/mapv_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@
***********************/
import {geo, getCenterByCityName} from "./map_geo";

/***/
export function getCoorDinates(cityName) {
let coordinates = geo[cityName] || [];
// console.info('coordinates=>',coordinates,cityName);
if (!coordinates.length) {
const {lng = "", lat = ""} = getCenterByCityName(cityName) || {};
if (!lng) {
coordinates = ["", ""];
console.info('==>', cityName);
// console.info('==>', cityName);
} else {
coordinates = [lng, lat];
}
Expand Down
4 changes: 2 additions & 2 deletions client/src/components/modules/Barrage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
>
<img :src="item.avatarUrl||''" :alt="item.name||''">
<span v-show="item.name">{{item.name}}:</span>
<span :style="{color:item.color}">{{item.message||""}} ==>{{item.random}}</span>
<span :style="{color:item.color}">{{item.message||""}}</span>
</li>
</transition-group>

Expand Down Expand Up @@ -204,7 +204,7 @@
return false
}
this.$nextTick(() => {
this.inputContent = '武汉加油' + new Date()
this.inputContent = '武汉加油!'
});
emitSocket('talk', this.inputContent);
}
Expand Down

0 comments on commit 1bb2f19

Please sign in to comment.