@zscreate/form-component 1.1.152 → 1.1.153

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.
@@ -67038,20 +67038,26 @@ module.exports = function (text, test, separator) {
67038
67038
  console.log("Vue", (vue__WEBPACK_IMPORTED_MODULE_0___default()));
67039
67039
 
67040
67040
  //post
67041
- function postAction(url, parameter) {
67041
+ function postAction(url, parameter, config = {
67042
+ notSpin: true
67043
+ }) {
67042
67044
  return vue__WEBPACK_IMPORTED_MODULE_0___default().prototype._http({
67043
67045
  url: url,
67044
67046
  method: 'post',
67045
- data: parameter
67047
+ data: parameter,
67048
+ ...config
67046
67049
  });
67047
67050
  }
67048
67051
 
67049
67052
  //post method= {post | put}
67050
- function httpAction(url, parameter, method) {
67053
+ function httpAction(url, parameter, method, config = {
67054
+ notSpin: true
67055
+ }) {
67051
67056
  return Vue.prototype._http({
67052
67057
  url: url,
67053
67058
  method: method,
67054
- data: parameter
67059
+ data: parameter,
67060
+ ...config
67055
67061
  });
67056
67062
  }
67057
67063
 
@@ -67066,11 +67072,14 @@ function putAction(url, parameter) {
67066
67072
  }
67067
67073
 
67068
67074
  //get
67069
- function getAction(url, parameter) {
67075
+ function getAction(url, parameter, config = {
67076
+ notSpin: true
67077
+ }) {
67070
67078
  return vue__WEBPACK_IMPORTED_MODULE_0___default().prototype._http({
67071
67079
  url: url,
67072
67080
  method: 'get',
67073
- params: parameter
67081
+ params: parameter,
67082
+ ...config
67074
67083
  });
67075
67084
  }
67076
67085
 
@@ -119605,7 +119614,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__7203__;
119605
119614
  /***/ (function(module) {
119606
119615
 
119607
119616
  "use strict";
119608
- module.exports = {"i8":"1.1.152"};
119617
+ module.exports = {"i8":"1.1.153"};
119609
119618
 
119610
119619
  /***/ })
119611
119620
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/form-component",
3
- "version": "1.1.152",
3
+ "version": "1.1.153",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "main": "dist/form-component.umd.js",