You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
959 B

3 years ago
<template>
<div class="main-content">
</div>
</template>
<script>
import {defineComponent, reactive, ref, getCurrentInstance} from 'vue'
export default defineComponent({
name: 'v-transformResult',
setup() {
const activeId = reactive({
value: 0
});
const { proxy } = getCurrentInstance();
return {
proxy,
activeId
}
},
mounted() {
this.getApi();
},
methods: {
getApi() {
if(this.$route.params.id) {
this.proxy.$post("/task/detail", {id: this.$route.params.id}).then(res => {
}).catch(() => {});
}
},
}
})
</script>
<style lang="less">
.form-area {
width: 600px;
height: 300px;
}
.img-upload {
font-size: 28px;
color: #8c939d;
width: 135px;
height: 135px;
text-align: center;
border: 1px solid;
}
</style>