DataV-React icon indicating copy to clipboard operation
DataV-React copied to clipboard

@Nathanielna 1.2.4版本已修复。

Open lessonli opened this issue 3 years ago • 3 comments

@Nathanielna 1.2.4版本已修复。

Originally posted by @yizhiyuyou in https://github.com/DataV-Team/DataV-React/issues/9#issuecomment-663846725

lessonli avatar Sep 12 '22 14:09 lessonli

resume is not a function

import { ScrollBoard } from '@jiaminghi/data-view-react'; import styles from './index.module.less'; import './index.scss';

const Home = () => { const data = [ [1, 2, 3, 4], [1, 2, 3, 4], [1, 2, 3, 4], // ['行1列1', '行1列2', '行1列3', '详情'], // ['行2列1', '行2列2', '行2列3', '详情'], // ['行3列1', '行3列2', '行3列3', '详情'], // ['行4列1', '行4列2', '行4列3', '详情'], // ['行5列1', '行5列2', '行5列3', '详情'], // ['行6列1', '行6列2', '行6列3', '详情'], // ['行7列1', '行7列2', '行7列3', '详情'], // ['行8列1', '行8列2', '行8列3', '详情'], // ['行9列1', '行9列2', '行9列3', '详情'], // ['行10列1', '行10列2', '行10列3', '详情'], ]; const config = { header: ['列1', '列2', '列3', '详情'], oddRowBGC: '#ccc', evenRowBGC: '#ccc', data, }; return ( <> 12 <ScrollBoard style={{ width: '500px', height: '220px' }} config={config}

    onClick={(a, b, c, d) => {
      console.log(a, b, c, d);
    }}
  />
</>

); };

export default Home;

lessonli avatar Sep 12 '22 14:09 lessonli

该版本 ^1.2.5

lessonli avatar Sep 12 '22 14:09 lessonli

image

lessonli avatar Sep 12 '22 14:09 lessonli