|
@@ -61,9 +61,9 @@ let question = reactive({
|
|
|
// 顶部导航栏
|
|
|
const getBarList = async ()=>{
|
|
|
await store.dispatch('getUserInfo')
|
|
|
- question.selectKey = store.state.userInfo.is_inner==1?'Wait':'Replied'
|
|
|
question.isUserResearcher = store.state.userInfo.is_inner==1&&store.state.userInfo.is_researcher==1 ? true:false
|
|
|
- console.log(question.selectKey,question.isUserResearcher);
|
|
|
+ question.selectKey = question.isUserResearcher?'Distribute':'Replied'
|
|
|
+ // console.log(question.selectKey,question.isUserResearcher);
|
|
|
const res = await apiBarTotal();
|
|
|
if(res.code == 403){
|
|
|
question.isAuthor=0
|