|
@@ -126,7 +126,7 @@
|
|
|
</my-dialog>
|
|
|
</template>
|
|
|
<script setup name="PersonDeployDialog">
|
|
|
-import { computed, onMounted, ref } from 'vue';
|
|
|
+import { computed, onMounted, ref, watch } from 'vue';
|
|
|
import { MessagePlugin } from 'tdesign-vue-next';
|
|
|
import { MinusCircleFilledIcon } from 'tdesign-icons-vue-next';
|
|
|
import useClearDialog from '@/hooks/useClearDialog';
|
|
@@ -143,7 +143,14 @@ const props = defineProps({
|
|
|
curRow: Object,
|
|
|
});
|
|
|
const regionUseManage = ref(false);
|
|
|
-
|
|
|
+watch(
|
|
|
+ () => props.visible,
|
|
|
+ (val) => {
|
|
|
+ if (!val) {
|
|
|
+ regionUseManage.value = false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+);
|
|
|
const regionUseManageChange = () => {
|
|
|
let allData = JSON.parse(JSON.stringify(roleConfigInfoAllData.value));
|
|
|
|