fix conflict
This commit is contained in:
parent
347ae56dbd
commit
4ad3bf4ba7
@ -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>
|
@ -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(
|
||||
()=>{
|
||||
|
Loading…
x
Reference in New Issue
Block a user