瀏覽代碼

fix: 放大模式错误

lvkun996 2 年之前
父節點
當前提交
3878a87fee
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/TableProV2/index.tsx

+ 1 - 1
src/components/TableProV2/index.tsx

@@ -154,7 +154,7 @@ const TablePro = defineComponent({
 
           <Teleport disabled={pureVisible.value} to="#teleport-full-container" >
             <Table
-              style={{ marginTop: '20px', width: pureVisible.value ? '100%' : '100vw', cursor: 'not-allowed' }}
+              style={{ marginTop: '20px', width: pureVisible.value ? '100%' : '100vw', cursor: pureVisible.value ? 'normal' : 'not-allowed' }}
               columns={columnsPro.value.filter(item => item._active)}
               loading={loading.value}
               pagination={ typeof pagination === 'boolean' ? pagination : { ...paginationRef.value, onChange: onChangePage }}