detail页面调整

This commit is contained in:
X1627315083
2025-02-17 09:34:28 +08:00
parent 69b6a9512f
commit 2ecff5c060
29 changed files with 2900 additions and 220 deletions

View File

@@ -51,7 +51,7 @@
</template>
<script lang="ts">
import { defineComponent,ref ,nextTick, computed,watch} from "vue";
import { defineComponent,ref ,nextTick, computed,watch, onMounted} from "vue";
import { Https } from "@/tool/https";
import { openGuide,driverObj__ } from "@/tool/guide";
export default defineComponent({
@@ -134,6 +134,17 @@ export default defineComponent({
).catch((res)=>{
});
}
onMounted(()=>{
if(!props.item.category){
props.disignTypeList.forEach((item:any) => {
if(item.value == props.item.level2Type){
props.item.category = item.name
props.item.categoryValue = item.value
}
});
}
})
return {
showFileCategory,
selectFileCategory,