Skip to content

Commit

Permalink
perf(orderCondition): 默认排序条件为timestamp desc
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed Sep 18, 2020
1 parent 617b6c6 commit 1442013
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/devTools/Dict.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
<el-col :span="19">
<CrudTable tableName="ad_codelist"
ref="codeListTable"
orderCondition="timestamp desc"
fullHeight
:maxHeightMinus="245"
:prefill="tableParams"
:tableParams="tableParams"
:remoteFuncs="remoteFuncs"
Expand Down
1 change: 1 addition & 0 deletions src/views/devTools/FormDesigner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<CrudTable ref="table"
tableName="form"
tableTitle="表单设计"
orderCondition="timestamp desc"
:btnEditOnClick="btnEditOnClick"
:btnAddOnClick="btnAddOnClick"
:searchFormCondition="searchFormParams"
Expand Down
1 change: 1 addition & 0 deletions src/views/devTools/TableDesigner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<CrudTable ref="dynamictables"
tableName="dynamictables"
tableTitle="表格设计"
orderCondition="timestamp desc"
:btnEditOnClick="btnEditOnClick"
:btnAddOnClick="btnAddOnClick"
:searchFormCondition="searchFormParams"
Expand Down
1 change: 1 addition & 0 deletions src/views/system/Role.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
tableName="role"
tableTitle="角色列表"
fullHeight
orderCondition="timestamp desc"
:visibleList="{
tableTitle:false,
btnDel:true,
Expand Down
1 change: 1 addition & 0 deletions src/views/system/Users.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
<CrudTable ref="table"
table-name="users"
:tableTitle="tableTitle"
orderCondition="timestamp desc"
:remoteFuncs="remoteFuncs"
fullHeight
:prefill="tableParams"
Expand Down

0 comments on commit 1442013

Please sign in to comment.