update
This commit is contained in:
parent
ac1ff358bd
commit
a134181592
@ -58,7 +58,7 @@
|
||||
</el-tooltip>
|
||||
<div class="NavInfo">
|
||||
<span style="width:200px">创建时间:{{ Cdate }}</span><br/>
|
||||
<span style="width:200px">所属标签:{{BelongTo}}</span><br/>
|
||||
<span style="width:200px">所属标签:{{CateNum}}</span><br/>
|
||||
<div style="display: flex;flex-direction: row">
|
||||
<div class="little-Circle" id="readNum" style=" margin-left:15px;">
|
||||
<el-tooltip placement="top" width="150"
|
||||
@ -346,6 +346,7 @@ export default {
|
||||
components: {LeftSide, HotRecomment, NewRecomment, RandomRecomment, UserComment},
|
||||
data() {
|
||||
return {
|
||||
CateNum:'',
|
||||
userId:'',
|
||||
userItem:{},
|
||||
// 点赞数:
|
||||
@ -439,7 +440,6 @@ export default {
|
||||
this.addViewByTime();
|
||||
this.UrlId = this.$route.query.uid;
|
||||
this.GetNav(this.UrlId);
|
||||
|
||||
if(this.UrlId){
|
||||
this.ViewByTime(this.UrlId)
|
||||
}
|
||||
@ -448,6 +448,22 @@ export default {
|
||||
},
|
||||
computed: {},
|
||||
methods: {
|
||||
// 获取标签名:
|
||||
getNavName(name) {
|
||||
let _this = this;
|
||||
if (name) {
|
||||
axios({
|
||||
method: 'post',
|
||||
url: '/api/UrlAndCate/selectName',
|
||||
params: {
|
||||
id: name
|
||||
}
|
||||
}).then((res)=> {
|
||||
_this.CateNum = res.data;
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
getConfig(name) {
|
||||
let _this = this;
|
||||
if (name) {
|
||||
@ -899,8 +915,7 @@ export default {
|
||||
if(that.UrlObj.desc == null){
|
||||
that.flag1 = false;
|
||||
}
|
||||
|
||||
|
||||
that.getNavName(that.UrlObj.cateId);
|
||||
})
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user