@lambo-design/schema-paging-table 1.0.0-beta.51 → 1.0.0-beta.53
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 +5 -5
- package/src/index.vue +7 -1
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.53",
|
|
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/
|
|
15
|
-
"@lambo-design/
|
|
16
|
-
"@lambo-design/
|
|
17
|
-
"@lambo-design/
|
|
14
|
+
"@lambo-design/shared": "^1.0.0-beta.237",
|
|
15
|
+
"@lambo-design/core": "^4.7.1-beta.149",
|
|
16
|
+
"@lambo-design/schema-form": "^1.0.0-beta.75",
|
|
17
|
+
"@lambo-design/paging-table": "^1.0.0-beta.90"
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
20
|
"release": "pnpm release-beta && git push --follow-tags && pnpm re-publish",
|
package/src/index.vue
CHANGED
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
:form-type="'search'"
|
|
25
25
|
:fieldList="formFields"
|
|
26
26
|
:labelWidth="labelWidth"
|
|
27
|
+
:labelPosition="labelPosition"
|
|
27
28
|
:default-rows="2"
|
|
28
29
|
:grid-columns="gridColumns"
|
|
29
30
|
:customComponents="customComponents"
|
|
@@ -149,6 +150,11 @@ export default {
|
|
|
149
150
|
require: false,
|
|
150
151
|
default: 100
|
|
151
152
|
},
|
|
153
|
+
labelPosition: {
|
|
154
|
+
type: String,
|
|
155
|
+
require: false,
|
|
156
|
+
default: "right"
|
|
157
|
+
},
|
|
152
158
|
operColumnDropdownNum: {
|
|
153
159
|
type: Number,
|
|
154
160
|
require: false,
|
|
@@ -247,7 +253,7 @@ export default {
|
|
|
247
253
|
let request = {
|
|
248
254
|
url: item.clickEvent.request.url,
|
|
249
255
|
method: item.clickEvent.request.method,
|
|
250
|
-
param: data,
|
|
256
|
+
param: data || currentRow,
|
|
251
257
|
}
|
|
252
258
|
let response = item.clickEvent.response
|
|
253
259
|
if (item.clickEvent.tips) {
|