This commit is contained in:
2025-09-06 19:15:47 +08:00
parent 6380ee505f
commit 178f44a5a3
9 changed files with 47 additions and 48 deletions

View File

@ -77,7 +77,7 @@
</el-form>
<div class="box_submit">
<el-button size="large" @click="cancel()"> </el-button>
<el-button size="large" type="primary" @click="submitForm"> </el-button>
<!-- <el-button size="large" type="primary" @click="submitForm"> </el-button> -->
</div>
</div>
</template>

View File

@ -219,7 +219,7 @@ const removeProject = (projectId: number | string) => {
// 提交表单
const submitForm = async () => {
// 整理项目角色数据
if (form.value.projectRoles.length == 0) {
if (selectedProjects.value.length == 0) {
proxy?.$modal.msgWarning('请选择项目角色');
return;
}