Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
maxw2 committed Aug 28, 2023
1 parent c3ff600 commit 4020076
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
12 changes: 11 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
@selection-change="selectionChange"
@row-click='rowClick'
@select='select'
:bufferCount="10"
:bufferCount="0"
:merge="[ 'zip']"

>
Expand Down Expand Up @@ -101,6 +101,14 @@
},
// fixed: "left",
},
{
prop: 'random',
label: "RANDOM",
render(h, prop) {
return Array.from(Array(prop.row.random) , () => h('el-button', prop.row.random))
}
// fixed: 'left'
},
{
type: "selection",
label: "序号",
Expand Down Expand Up @@ -163,6 +171,7 @@
};
}),
tdata: Array.from(new Array(2000)).map((val, index) => {
const random = Math.floor(Math.random() * 5)
return {
id: index,
// date: "2016-05-03",
Expand All @@ -171,6 +180,7 @@
address: `上海市普陀区金沙江路 ${index} 弄`,
city: "普陀区",
zip: Math.floor(Math.random() * 5),
random: random
// zip: index % 4 ? 1 : 2
// children: [
// {
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"@rollup/plugin-terser": "^0.4.0",
"@vue/babel-helper-vue-jsx-merge-props": "^1.4.0",
"@vue/babel-preset-jsx": "^1.4.0",
"eslint": "^8.47.0",
"rollup": "^3.13.0",
"rollup-plugin-babel": "^4.4.0"
},
Expand Down

0 comments on commit 4020076

Please sign in to comment.