|
@@ -9,7 +9,6 @@ import {apiGetTagTree} from "@/api/common"
|
|
|
import { apiApplyPermission } from '@/api/user'
|
|
|
import{ref,reactive} from "vue"
|
|
|
import {onBeforeRouteLeave,useRouter} from "vue-router"
|
|
|
-import { useElementSize } from '@vueuse/core'
|
|
|
import {ElMessage,ElMessageBox} from "element-plus"
|
|
|
import SelfList from '@/components/SelfList.vue'
|
|
|
import {useStore} from "vuex"
|
|
@@ -21,9 +20,6 @@ const store = useStore()
|
|
|
const router = useRouter()
|
|
|
|
|
|
moment.locale('zh-cn');
|
|
|
-//监听列表页面版心宽度
|
|
|
-const listPageEl=ref('')
|
|
|
-const {width}=useElementSize(listPageEl)
|
|
|
|
|
|
const askForm = ref(null)
|
|
|
|
|
@@ -315,8 +311,8 @@ const setCancelNickHandle = async() => {
|
|
|
</div>
|
|
|
<!-- 有权限 -->
|
|
|
<template v-if="question.isAuthor == 1 && question.isFinish">
|
|
|
- <div class="question-list-container" ref="listPageEl" >
|
|
|
- <div class="top-nav-box" :style="{width:width+'px'}">
|
|
|
+ <div class="question-list-container">
|
|
|
+ <div class="top-nav-box" >
|
|
|
<div class="first-nav-box">
|
|
|
<span
|
|
|
v-for="item in question.optionList"
|