|
|
|
@ -14,7 +14,7 @@ |
|
|
|
@click="goToPage(item.path)" |
|
|
|
> |
|
|
|
{{ item.name }} |
|
|
|
<span class="header_total" v-if="total > 0 && item.name == '收录申请'">{{ total }}</span> |
|
|
|
<span class="header_total" v-if="total && item.name == '收录申请'">{{ total }}</span> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
@ -32,7 +32,7 @@ export default { |
|
|
|
doctor_id:'', |
|
|
|
authtoken:false, |
|
|
|
currentPath:'', |
|
|
|
total:30, |
|
|
|
total:'', |
|
|
|
routerNavList:[ |
|
|
|
{ |
|
|
|
name:'模板管理', |
|
|
|
@ -127,7 +127,6 @@ export default { |
|
|
|
location.href = 'http://www.kuailelunwen.com/?adm=1' |
|
|
|
}, |
|
|
|
goToPage(path) { |
|
|
|
console.log(this.currentPath ,path,'===0000'); |
|
|
|
if(this.currentPath == path) return; |
|
|
|
this.currentPath = path; |
|
|
|
this.$router.push({ |
|
|
|
|