mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2025-05-19 10:00:13 +09:00
update: 修改我的页面文章归档的显示策略
This commit is contained in:
parent
2b717ad449
commit
e8edc03526
@ -84,13 +84,9 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
checkHasAdminLogin
|
||||
} from '@/utils/auth.js';
|
||||
import {checkHasAdminLogin} from '@/utils/auth.js';
|
||||
import CheckAppUpdate from '@/uni_modules/uni-upgrade-center-app/utils/check-update';
|
||||
import {
|
||||
CheckWxUpdate
|
||||
} from '@/utils/update.js';
|
||||
import {CheckWxUpdate} from '@/utils/update.js';
|
||||
|
||||
import tmGrouplist from '@/tm-vuetify/components/tm-grouplist/tm-grouplist.vue';
|
||||
import tmListitem from '@/tm-vuetify/components/tm-listitem/tm-listitem.vue';
|
||||
@ -181,16 +177,16 @@
|
||||
// #ifdef MP-WEIXIN
|
||||
_isWx = true;
|
||||
// #endif
|
||||
this.navList = [{
|
||||
this.navList = [
|
||||
{
|
||||
key: 'archives',
|
||||
title: '文章归档',
|
||||
title: this.haloConfigs.basicConfig.auditModeEnabled ? '内容归档' : '文章归档',
|
||||
leftIcon: 'halocoloricon-classify',
|
||||
leftIconColor: 'red',
|
||||
rightText: '已归档的文章',
|
||||
rightText: this.haloConfigs.basicConfig.auditModeEnabled ? '已归档的内容' : '已归档的文章',
|
||||
path: '/pagesA/archives/archives',
|
||||
isAdmin: false,
|
||||
type: 'page',
|
||||
// show: !this.haloConfigs.basicConfig.auditModeEnabled
|
||||
show: true
|
||||
}, {
|
||||
key: 'love',
|
||||
@ -292,28 +288,7 @@
|
||||
// type: 'poup',
|
||||
// show: true
|
||||
// },
|
||||
// {
|
||||
// key: 'setting',
|
||||
// title: '应用设置',
|
||||
// leftIcon: 'icon-cog',
|
||||
// leftIconColor: 'indigo',
|
||||
// rightText: `进入系统常用设置`,
|
||||
// path: '/pagesA/setting/setting',
|
||||
// isAdmin: false,
|
||||
// type: 'page',
|
||||
// show: false
|
||||
// },
|
||||
// {
|
||||
// key: 'admin',
|
||||
// title: '后台管理',
|
||||
// leftIcon: 'icon-lock',
|
||||
// leftIconColor: 'gray',
|
||||
// rightText: '博客后台系统入口',
|
||||
// path: '/pagesB/admin/admin',
|
||||
// isAdmin: true,
|
||||
// type: 'page',
|
||||
// show: false
|
||||
// }
|
||||
|
||||
];
|
||||
},
|
||||
fnGetData() {
|
||||
@ -363,7 +338,8 @@
|
||||
url: '/pagesB/login/login'
|
||||
});
|
||||
})
|
||||
.catch(err => {});
|
||||
.catch(err => {
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
@ -384,7 +360,8 @@
|
||||
this.navList.find(x => x.key == 'cache').rightText =
|
||||
uni.getStorageInfoSync().currentSize + 'KB';
|
||||
})
|
||||
.catch(err => {});
|
||||
.catch(err => {
|
||||
});
|
||||
break;
|
||||
case 'update':
|
||||
// #ifdef APP-PLUS
|
||||
|
Loading…
Reference in New Issue
Block a user