修改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){
console.log(`🚀 ~ index openLogDetail ~ param:`, param)
indexLogDetailRef.value.open(param);
}

View File

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