修改bug

This commit is contained in:
yangjun 2024-02-29 10:39:24 +08:00
parent 547b799dff
commit b703a2a270
2 changed files with 14 additions and 6 deletions

View File

@ -833,6 +833,7 @@ function openJxlDetail(param){
} }
function openLogDetail(param){ function openLogDetail(param){
console.log(`🚀 ~ index openLogDetail ~ param:`, param)
indexLogDetailRef.value.open(param); indexLogDetailRef.value.open(param);
} }

View File

@ -10,8 +10,8 @@
</a-modal> </a-modal>
</template> </template>
<script lang="ts" name="jiaoshi-kcJiaoshirongliang" setup> <script lang="ts" name="jiaoshi-kcJiaoshirongliangSfyc" setup>
import {ref, computed, unref, Ref } from 'vue'; import {ref, computed, unref, Ref, nextTick } from 'vue';
import { BasicTable, useTable, TableAction } from '/@/components/Table'; import { BasicTable, useTable, TableAction } from '/@/components/Table';
import { useModal } from '/@/components/Modal'; import { useModal } from '/@/components/Modal';
import { useListPage } from '/@/hooks/system/useListPage' import { useListPage } from '/@/hooks/system/useListPage'
@ -83,11 +83,18 @@
return [] return []
} }
function open(param){ async function open(param){
console.log(`🚀 ~ detaillogopen ~ param:`, param)
// changeQueryParam(param); // changeQueryParam(param);
queryParam.value = Object.assign({ }, param); // reload();
reload(); await nextTick(() => {
isShowPage.value = true; queryParam.value = Object.assign({ }, param);
reload();
isShowPage.value = true;
setTimeout(() => {
reload();
}, 100);
});
} }
function close(){ function close(){