@@ -1,10 +1,15 @@
<script setup>
+import {ref} from 'vue'
+
+const wwidth=ref(window.innerWidth)
</script>
<template>
<div class="main-wrap">
<router-view />
- <el-backtop :right="100" :bottom="100" />
+ <el-backtop :right="wwidth<700?20:100" :bottom="100" />
</div>
</template>
@@ -21,7 +21,7 @@ function goIndex(item){
router.replace({
path:'/report/index',
query:{
- firstclassifyid:item.Id
+ firstclassifyid:item.id
}
})
@@ -23,7 +23,7 @@ async function getReportClassify(){
if(route.query.firstclassifyid){
arr.forEach(item => {
- if(item.Id==route.query.firstclassifyid){
+ if(item.id==route.query.firstclassifyid){
handleChangeFirstClassify(item)
});