@lambo-design/schema-paging-table 1.0.0-beta.54 → 1.0.0-beta.55
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 +6 -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.55",
|
|
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/core": "^4.7.1-beta.156",
|
|
14
15
|
"@lambo-design/shared": "^1.0.0-beta.246",
|
|
15
|
-
"@lambo-design/schema-form": "^1.0.0-beta.76",
|
|
16
16
|
"@lambo-design/paging-table": "^1.0.0-beta.90",
|
|
17
|
-
"@lambo-design/
|
|
17
|
+
"@lambo-design/schema-form": "^1.0.0-beta.77"
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
20
|
"release": "pnpm release-beta && git push --follow-tags && pnpm re-publish",
|
package/src/index.vue
CHANGED
|
@@ -474,9 +474,12 @@ export default {
|
|
|
474
474
|
[request.method==='GET'?"params":"data"]:request.param
|
|
475
475
|
}
|
|
476
476
|
ajax.request(options).then(function (resp) {
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
477
|
+
if (resp.data && resp.data.code === 1) {
|
|
478
|
+
self.$Message.success(response.successMsg)
|
|
479
|
+
self.doSearch()
|
|
480
|
+
} else {
|
|
481
|
+
self.$Message.error(response.errorMsg)
|
|
482
|
+
}
|
|
480
483
|
}).catch(function (err) {
|
|
481
484
|
console.error(err)
|
|
482
485
|
self.$Message.error(response.errorMsg)
|