feat: 修改选中问题

pull/315/head
raoyongjun 1 year ago
parent 397b700a49
commit 87e3528ee1

@ -200,8 +200,10 @@ async function featchList() {
const app = getCurrentInstance()
const updateHtml = debounce(() => {
app?.appContext.app.$waterfall?.forceUpdate()
}, 1600)
// app?.appContext.app.$waterfall?.forceUpdate()
console.log('更新页面了')
waterfallRef.value?.resize()
}, 200)
async function loadMore() {
console.log('可疑文件夹出来了11111111111111', loading, el.value)
@ -305,7 +307,7 @@ function imUpdateSelectIds(x: number, y: number, w: number, h: number) {
selectedApproveItems.value.push(item)
}
})
console.log('selectedApproveItems.value可疑选中了。。。。。。。。', selectedApproveItems.value)
updateHtml()
}
@ -507,7 +509,7 @@ function remove() {
}
function setBatch(value, isUpdate?) {
console.log('执行了设置夸勾选-------------')
// console.log('-------------')
if (value && batch.value)
batch.value = !value
else
@ -879,7 +881,7 @@ watch(() => show.value, async (newVal) => {
:style="{ backgroundImage: `url(${loading ? bgLoadingImg : 'none'})`, display: 'none' }"
/>
<n-checkbox
v-if="batch && item.historyStates === 1"
v-if="batch && item.historyStates === 1" v-model:checked="item.checked"
style="position:absolute;left:20px;top:20px" @click.prevent.stop
@update:checked="onCheckChange($event, item)"
/>

Loading…
Cancel
Save