fix: 修改bug

This commit is contained in:
100011797 2023-07-12 16:57:10 +08:00
parent af6f78ebb2
commit f35fd74006
3 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<template>
<j-modal :width="'900px'" visible @cancel="emit('close')">
<j-modal :width="'900px'" visible @cancel="emit('close')" :zIndex="1100">
<template v-if="getType === 'notifier-dingTalk'">
<j-spin :spinning="loading">
<div class="code" style="height: 600px;">
@ -44,6 +44,7 @@ import {
} from '@/api/account/notificationSubscription';
const emit = defineEmits(['close', 'save']);
const props = defineProps({
data: {
//
@ -103,6 +104,7 @@ const updateIframeStyle = () => {
'#notifier_iframe',
) as HTMLIFrameElement;
iframe.onload = () => {
console.log(iframe?.contentWindow)
const currentUrl = iframe?.contentWindow?.location?.search || '';
let authCode = '';
if (currentUrl.startsWith('?')) {

View File

@ -75,17 +75,20 @@ const onBind = () => {
} else {
visible.value = true
}
emit('close')
};
const onSave = () => {
editInfoVisible.value = false;
user.getUserInfo();
emit('save', props.current);
emit('close')
};
const onBindSave = () => {
visible.value = false
emit('save', props.current);
emit('close')
}
const handleSearch = async () => {

View File

@ -36,7 +36,6 @@
<script lang="ts" setup>
import { useUserInfo } from '@/store/userInfo';
import { onlyMessage } from '@/utils/comm';
import EditInfo from '../../EditInfo/index.vue';
import Bind from './Bind.vue';