sun-form-v3 1.0.66 → 1.0.68
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +4 -4
- package/src/components/aDesigner/design.vue +0 -1
- package/src/components/aDesigner/panel.vue +1 -1
- package/src/components/widgetCommonComps/commonJsonInput/index.vue +1 -1
- package/src/components/widgetShowComps/widget-form/index.vue +1 -1
- package/src/components/widgetShowComps/widget-homepage/index.vue +1 -1
- package/src/http.js +5 -4
package/package.json
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
{
|
2
2
|
"name": "sun-form-v3",
|
3
3
|
"private": false,
|
4
|
-
"version": "1.0.
|
4
|
+
"version": "1.0.68",
|
5
5
|
"type": "module",
|
6
6
|
"files": [
|
7
7
|
"src"
|
8
8
|
],
|
9
|
-
"main": "src/
|
10
|
-
"module": "src/
|
9
|
+
"main": "src/index2.js",
|
10
|
+
"module": "src/index2.js",
|
11
11
|
"exports": {
|
12
|
-
".": "./src/
|
12
|
+
".": "./src/index2.js"
|
13
13
|
},
|
14
14
|
"scripts": {
|
15
15
|
"dev": "vite",
|
@@ -60,7 +60,7 @@
|
|
60
60
|
|
61
61
|
|
62
62
|
<script setup>
|
63
|
-
import draggable from "vuedraggable";
|
63
|
+
import draggable from "vuedraggable/src/vuedraggable";
|
64
64
|
import commonCodeEditor from '../widgetCommonComps/commonCodeEditor/editor.vue'
|
65
65
|
import { ref, reactive, watch, toRaw } from 'vue';
|
66
66
|
import widgetConfig from '../../widgetConfig';
|
package/src/http.js
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import axios from 'axios'
|
2
|
-
import qs from 'qs'
|
2
|
+
// import qs from 'qs'
|
3
|
+
import XEUtils from 'xe-utils'
|
3
4
|
import {
|
4
5
|
ElNotification
|
5
6
|
} from 'element-plus'
|
@@ -223,7 +224,7 @@ class Http {
|
|
223
224
|
return this.send({
|
224
225
|
url: url,
|
225
226
|
method: 'post',
|
226
|
-
data:
|
227
|
+
data: XEUtils.serialize(this.paramHandle(data)),
|
227
228
|
headers: {
|
228
229
|
...this.formDataHeader,
|
229
230
|
...headers
|
@@ -261,7 +262,7 @@ class Http {
|
|
261
262
|
return this.send({
|
262
263
|
url: url,
|
263
264
|
method: 'put',
|
264
|
-
data:
|
265
|
+
data: XEUtils.serialize(this.paramHandle(data)),
|
265
266
|
headers: {
|
266
267
|
...this.formDataHeader,
|
267
268
|
...headers
|
@@ -280,7 +281,7 @@ class Http {
|
|
280
281
|
return this.send({
|
281
282
|
url: url,
|
282
283
|
method: 'patch',
|
283
|
-
data:
|
284
|
+
data: XEUtils.serialize(this.paramHandle(data)),
|
284
285
|
headers: {
|
285
286
|
...this.formDataHeader,
|
286
287
|
...headers
|