feat: 【任务审批】打开自定义任务包字段弹窗后,鼠标点击空白处不应该关闭弹窗,点击确定或取消按钮才能关闭弹窗

pull/1/head
刘释隆 1 year ago
parent 41cba3c591
commit cfad79edd0

@ -135,7 +135,7 @@ function onCheckAllChange(value) {
} }
} }
selectIds.value = value ? ids : []; selectIds.value = value ? ids : [];
console.log(offList.value,'offList') console.log(offList.value, "offList");
if (value) { if (value) {
offList.value.map((v) => { offList.value.map((v) => {
if (!v.checked) { if (!v.checked) {
@ -298,7 +298,7 @@ const indeterminate = computed(() => {
</script> </script>
<template> <template>
<n-modal v-model:show="show" transform-origin="center"> <n-modal v-model:show="show" transform-origin="center" :mask-closable="false">
<n-card <n-card
class="cardstyle" class="cardstyle"
:bordered="false" :bordered="false"
@ -415,7 +415,7 @@ const indeterminate = computed(() => {
<template #footer> <template #footer>
<div class="wrapper-footer"> <div class="wrapper-footer">
<n-button type="info" @click="handleSumbit"> </n-button> <n-button type="info" @click="handleSumbit"> </n-button>
<n-button secondary style="margin-left: 15px;" @click="closeModal"> <n-button secondary style="margin-left: 15px" @click="closeModal">
取消 取消
</n-button> </n-button>
</div> </div>
@ -551,5 +551,4 @@ const indeterminate = computed(() => {
::v-deep(.n-button--default-type) { ::v-deep(.n-button--default-type) {
border: 1px solid #cad2dd !important; border: 1px solid #cad2dd !important;
} }
</style> </style>

Loading…
Cancel
Save