@lambo-design/schema-paging-table 1.0.0-beta.81 → 1.0.0-beta.82
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 +12 -2
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.82",
|
|
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/core": "^4.7.1-beta.
|
|
16
|
-
"@lambo-design/
|
|
17
|
-
"@lambo-design/
|
|
14
|
+
"@lambo-design/shared": "^1.0.0-beta.346",
|
|
15
|
+
"@lambo-design/core": "^4.7.1-beta.176",
|
|
16
|
+
"@lambo-design/paging-table": "^1.0.0-beta.102",
|
|
17
|
+
"@lambo-design/schema-form": "^1.0.0-beta.100"
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
20
|
"release": "pnpm release-beta && git push --follow-tags && pnpm re-publish",
|
package/src/index.vue
CHANGED
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
:fieldList="formFields"
|
|
30
30
|
:labelWidth="labelWidth"
|
|
31
31
|
:labelPosition="labelPosition"
|
|
32
|
+
:labelColon="labelColon"
|
|
32
33
|
:default-rows="2"
|
|
33
34
|
:grid-columns="gridColumns"
|
|
34
35
|
:customComponents="customComponents"
|
|
@@ -181,6 +182,11 @@ export default {
|
|
|
181
182
|
require: false,
|
|
182
183
|
default: "right"
|
|
183
184
|
},
|
|
185
|
+
labelColon: {
|
|
186
|
+
type: Boolean,
|
|
187
|
+
require: false,
|
|
188
|
+
default: false
|
|
189
|
+
},
|
|
184
190
|
operColumnDropdownNum: {
|
|
185
191
|
type: Number,
|
|
186
192
|
require: false,
|
|
@@ -586,8 +592,12 @@ export default {
|
|
|
586
592
|
},
|
|
587
593
|
onReset() {
|
|
588
594
|
// Object.assign(this.queryForm, this.$options.propsData.form)
|
|
589
|
-
this
|
|
590
|
-
|
|
595
|
+
this.$emit('onReset')
|
|
596
|
+
// 等待业务对form属性重置的操作
|
|
597
|
+
this.$nextTick(()=>{
|
|
598
|
+
this.queryForm = this.$options.propsData.form;
|
|
599
|
+
this.doSearch()
|
|
600
|
+
})
|
|
591
601
|
},
|
|
592
602
|
fetch: function (request,response,index,item) {
|
|
593
603
|
let self = this
|