12121
This commit is contained in:
@@ -6,7 +6,9 @@
|
||||
<Abar href="/task/">任务</Abar>
|
||||
<Abar href="/user/message/">消息{{ messageCount > 0 ? "(" + messageCount + ")" : "" }}</Abar>
|
||||
</div>
|
||||
|
||||
<div class="content" v-if="gameTips != ''" style="color: red;font-size: 16px;">
|
||||
{{ gameTips }}
|
||||
</div>
|
||||
<div class="notification">
|
||||
<GameChat :data="chatData" :show-time="0"></GameChat>
|
||||
</div>
|
||||
@@ -127,6 +129,7 @@ const mapRes = ref<Array<any>>([]);
|
||||
const monster = ref<Array<any>>([]);
|
||||
const messageCount = ref(0);
|
||||
const broadcast = ref<Array<any>>([]);
|
||||
const gameTips = ref('');
|
||||
// 城内地图显示
|
||||
const showCity = ref(false);
|
||||
|
||||
@@ -159,6 +162,7 @@ const BindData = async (map: string): Promise<void> => {
|
||||
broadcast.value = result.data.broadcast;
|
||||
MapVent(result.data.mapInfo.near);
|
||||
onMap.value = mapInfo.value.mapId;
|
||||
gameTips.value = result.data.gameTips;
|
||||
console.log(result)
|
||||
}
|
||||
else if (result.code == 103) {
|
||||
|
||||
Reference in New Issue
Block a user