detail页面调整
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user