Commit 1713c2bb authored by zhengke's avatar zhengke

修改

parent a8116397
......@@ -4,7 +4,12 @@
class="no-border-radius flex column">
<q-tabs v-model="tab" class="text-grey" active-color="secondary" indicator-color="secondary" align="justify"
narrow-indicator inline-label>
<q-tab alert="negative" name="msg">
<q-tab v-if="socektObj.length>0" alert="negative" name="msg">
<inline-svg class="svg-icon q-mr-xs" :class="[tab=='msg'?'svg-icon-secondary':'svg-icon-grey']"
src="icons/svg/Communication/Chat-check.svg"></inline-svg>
<span>消息</span>
</q-tab>
<q-tab v-else name="msg">
<inline-svg class="svg-icon q-mr-xs" :class="[tab=='msg'?'svg-icon-secondary':'svg-icon-grey']"
src="icons/svg/Communication/Chat-check.svg"></inline-svg>
<span>消息</span>
......@@ -260,7 +265,6 @@
created() {
this.init();
this.getNotify();
console.log(this.socektObj,'socektObj');
},
methods: {
init() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment