修复bug
This commit is contained in:
parent
4b731efeeb
commit
1cf1f3d4f9
@ -4,11 +4,11 @@
|
|||||||
<span class="text-6xl text-green-400 font-bold mb-2">Enter</span>
|
<span class="text-6xl text-green-400 font-bold mb-2">Enter</span>
|
||||||
<div class="mb-[4vh] flex flex-col">
|
<div class="mb-[4vh] flex flex-col">
|
||||||
<span class="font-bold">{{project.name}}</span>
|
<span class="font-bold">{{project.name}}</span>
|
||||||
<a-radio-group v-model="project.data" class="flex-row flex mt-3">
|
<a-radio-group v-model:value="project.isFinish" name="radioGroup" class="flex-row flex mt-3">
|
||||||
<a-radio :style="radioStyle" :value="0">进行中</a-radio>
|
<a-radio :style="radioStyle" :value=0>进行中</a-radio>
|
||||||
<a-radio :style="radioStyle" :value="1">已完成</a-radio>
|
<a-radio :style="radioStyle" :value=1>已完成</a-radio>
|
||||||
<a-radio :style="radioStyle" :value="2">进行中</a-radio>
|
<a-radio :style="radioStyle" :value=2>进行中</a-radio>
|
||||||
<a-radio :style="radioStyle" :value="-1">已完成</a-radio>
|
<a-radio :style="radioStyle" :value=-1>已完成z</a-radio>
|
||||||
</a-radio-group>
|
</a-radio-group>
|
||||||
</div>
|
</div>
|
||||||
<span class="mt-[0px]">{{project.description}}项目主要包括前端后端,旨在开发一个创新的解决方案,以满足当前市场需求并改善用户体验。我们团队致力于开发一款功能强大、易于使用且具有高度可定制性的软件/应用程序/网站</span>
|
<span class="mt-[0px]">{{project.description}}项目主要包括前端后端,旨在开发一个创新的解决方案,以满足当前市场需求并改善用户体验。我们团队致力于开发一款功能强大、易于使用且具有高度可定制性的软件/应用程序/网站</span>
|
||||||
@ -32,19 +32,9 @@
|
|||||||
|
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import {reactive, ref} from "vue";
|
import {reactive} from "vue";
|
||||||
|
|
||||||
const project = defineProps(['name','cycle','description','tags','isFinish'])
|
const project = defineProps(['name','cycle','description','tags','isFinish'])
|
||||||
const New =reactive({
|
|
||||||
|
|
||||||
})
|
|
||||||
const value=ref([project.isFinish])
|
|
||||||
function overPosition(value) {
|
|
||||||
if (value === 0 || value=== 2 || value=== -1) {
|
|
||||||
return 2
|
|
||||||
} else {
|
|
||||||
return 1
|
|
||||||
}}
|
|
||||||
const radioStyle = reactive({
|
const radioStyle = reactive({
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
height: '30px',
|
height: '30px',
|
||||||
|
@ -32,11 +32,14 @@ onMounted(()=>{
|
|||||||
request.projectGetCustom(data).then((res)=>{
|
request.projectGetCustom(data).then((res)=>{
|
||||||
// console.log(res)
|
// console.log(res)
|
||||||
// Project.data= res.data.data.data
|
// Project.data= res.data.data.data
|
||||||
console.log("res:::",res)
|
// console.log("res:::",res)
|
||||||
projects.value = res.data.data;
|
projects.value = res.data.data;
|
||||||
|
|
||||||
// console.log("projects.value:",projects.value)
|
// console.log("projects.value:",projects.value)
|
||||||
// console.log("projects.value[0].id:",projects.value[0].id)
|
// console.log("projects.value[0].id:",projects.value[0].id)
|
||||||
project.data = projects.value[0];
|
project.data = projects.value[0];
|
||||||
|
console.log("project.data:",project.data)
|
||||||
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -118,7 +118,7 @@
|
|||||||
</a-modal>
|
</a-modal>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
</template>
|
</template>
|
||||||
<script setup lang="">
|
<script setup lang="ts">
|
||||||
import { reactive, ref ,computed,onMounted} from 'vue';
|
import { reactive, ref ,computed,onMounted} from 'vue';
|
||||||
import { h } from 'vue';
|
import { h } from 'vue';
|
||||||
import { SearchOutlined,StarOutlined,PlusOutlined } from '@ant-design/icons-vue';
|
import { SearchOutlined,StarOutlined,PlusOutlined } from '@ant-design/icons-vue';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user