fix conflict

This commit is contained in:
tuxiu21 2024-03-14 19:10:25 +08:00
parent 347ae56dbd
commit 4ad3bf4ba7
2 changed files with 30 additions and 6 deletions

View File

@ -1,9 +1,9 @@
<template>
<!-- 解决tailwind冲突问题 -->
<a-style-provider hash-priority="high">
<!-- <a-style-provider hash-priority="high">
<router-view></router-view>
</a-style-provider>
</a-style-provider> -->
<router-view></router-view>
</template>
<script>
</script>

View File

@ -59,9 +59,9 @@
style="max-width: 600px"
>
<a-form-item label="项目名称">
<a-input />
<a-input v-model:value="addForm.name"/>
</a-form-item>
<a-form-item label="周期">
<a-form-item label="周期" v-model:value="addForm.cycle">
<a-input />
</a-form-item>
<a-form-item label="工作量">
@ -96,6 +96,11 @@
</a-form>
<template #footer>
<a-button key="back" @click="handleCancel">取消</a-button>
<a-button key="submit" type="primary" @click="handleAdd">新增</a-button>
<a-button key="submit" type="primary" @click="handleAddPublish">新增并发布</a-button>
</template>
</a-modal>
</a-tooltip>
</template>
@ -116,7 +121,14 @@ const token = window.localStorage.getItem('token')
const projList=ref([])
const addForm=ref({
name:'',
cycle:'',
workload:'',
status:'',
description:'',
file:''
})
//
@ -150,6 +162,18 @@ const handleChange = (tag, checked) => {
}
};
//
const handleAdd=()=>{
console.log('新增')
}
// tag
onMounted(
()=>{