Skip to content

Commit

Permalink
feat: 优化
Browse files Browse the repository at this point in the history
  • Loading branch information
JackySoft committed Aug 19, 2023
1 parent 17ffb4c commit 5306862
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/RocketTable/RocketTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -205,15 +205,15 @@ export default {
data() {
return {
size:
(this.json ? this.json.size : this.$attrs.size) || this.$rocket.size,
(this.json && this.json.size) || this.$attrs.size || this.$rocket.size,
isFullScreen: false,
pageSize: 0, // 缓存每页条数,只有在切换每页条数时使用
};
},
computed: {
createTableId() {
return Number(
Math.random().toString().substr(3, 3) + Date.now(),
Math.random().toString().substring(3, 3) + Date.now(),
).toString(36);
},
config() {
Expand Down

0 comments on commit 5306862

Please sign in to comment.