@lambo-design/schema-paging-table 1.0.0-beta.31 → 1.0.0-beta.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/src/index.vue +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lambo-design/schema-paging-table",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.33",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "lambo",
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"standard-version": "^9.5.0",
|
|
14
|
-
"@lambo-design/shared": "^1.0.0-beta.200",
|
|
15
14
|
"@lambo-design/schema-form": "^1.0.0-beta.56",
|
|
15
|
+
"@lambo-design/core": "^4.7.1-beta.139",
|
|
16
16
|
"@lambo-design/paging-table": "^1.0.0-beta.77",
|
|
17
|
-
"@lambo-design/
|
|
17
|
+
"@lambo-design/shared": "^1.0.0-beta.200"
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
20
|
"release": "pnpm release-beta && git push --follow-tags && pnpm re-publish",
|
package/src/index.vue
CHANGED
|
@@ -220,7 +220,7 @@ export default {
|
|
|
220
220
|
}, item.permission)
|
|
221
221
|
if (visibleDomsd.length < self.operColumnDropdownNum) {
|
|
222
222
|
visibleDomsd.push(doms);
|
|
223
|
-
} else if (visibleDomsd.length === self.operColumnDropdownNum){
|
|
223
|
+
} else if (visibleDomsd.length === self.operColumnDropdownNum && dropdownDomsd.length === 0){
|
|
224
224
|
dropdownDomsd.push(h('DropdownItem', {}, [visibleDomsd[self.operColumnDropdownNum - 1]]))
|
|
225
225
|
dropdownDomsd.push(h('DropdownItem', {}, [doms]))
|
|
226
226
|
} else {
|
|
@@ -329,11 +329,11 @@ export default {
|
|
|
329
329
|
this.$router.push({ path: routeInfo.path, query })
|
|
330
330
|
} else if (item.clickEvent?.type === "method") {
|
|
331
331
|
let selection = self.getSelection()
|
|
332
|
-
if (selection.length === 0) {
|
|
332
|
+
if (selection.length === 0 && item.clickEvent?.method?.keys.length !== 0) {
|
|
333
333
|
self.$Message.info('请选择一条记录!')
|
|
334
334
|
return
|
|
335
335
|
}
|
|
336
|
-
if (
|
|
336
|
+
if (item.clickEvent?.method?.keys.length !== 0) {
|
|
337
337
|
let param = selection.map((select, index) => {
|
|
338
338
|
if (item.clickEvent?.method?.keys) {
|
|
339
339
|
let obj = item.clickEvent?.method?.keys?.reduce((acc, sourceItem) => {
|