ydb-components-material 0.1.84 → 0.1.85
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/build/docs/404.html +3 -3
- package/build/docs/_demos/:uuid +3 -3
- package/build/docs/colorful-button.html +3 -3
- package/build/docs/colorful-input.html +3 -3
- package/build/docs/index.html +3 -3
- package/build/docs/{umi.97a3bada.css → umi.466b4c0a.css} +1 -1
- package/build/docs/umi.860fec17.js +1 -0
- package/build/docs/~demos/:uuid.html +3 -3
- package/build/docs/~demos/colorful-button-demo.html +3 -3
- package/build/docs/~demos/colorful-input-demo.html +3 -3
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +1 -1
- package/dist/BizComps.css +1 -1
- package/dist/BizComps.js +1 -1
- package/dist/BizComps.js.map +1 -1
- package/es/components/file-item/checkPoint.scss +1 -1
- package/es/components/file-item/file.js +3 -2
- package/lib/components/file-item/checkPoint.scss +1 -1
- package/lib/components/file-item/file.js +3 -2
- package/lowcode_es/meta.js +1 -1
- package/lowcode_lib/meta.js +1 -1
- package/package.json +3 -3
- package/build/docs/umi.54e685b0.js +0 -1
|
@@ -94,6 +94,7 @@ export function dataURLtoBlob(dataUrl) {
|
|
|
94
94
|
|
|
95
95
|
// 上传文件至申报端的服务器 [方法]
|
|
96
96
|
export function uploadFilePromise(url, config) {
|
|
97
|
+
console.log('uploadFilePromise', config);
|
|
97
98
|
return new Promise(function (resolve, reject) {
|
|
98
99
|
var formData = new FormData();
|
|
99
100
|
formData.append('file', url);
|
|
@@ -102,8 +103,8 @@ export function uploadFilePromise(url, config) {
|
|
|
102
103
|
fetch(config.baseUrl + "/declaration/material/file/files/api", {
|
|
103
104
|
method: 'POST',
|
|
104
105
|
body: formData,
|
|
105
|
-
|
|
106
|
-
Authorization: config.tokenTY
|
|
106
|
+
headers: {
|
|
107
|
+
'Authorization': config.tokenTY
|
|
107
108
|
}
|
|
108
109
|
}).then(function (response) {
|
|
109
110
|
return response.json();
|
|
@@ -103,6 +103,7 @@ function dataURLtoBlob(dataUrl) {
|
|
|
103
103
|
|
|
104
104
|
// 上传文件至申报端的服务器 [方法]
|
|
105
105
|
function uploadFilePromise(url, config) {
|
|
106
|
+
console.log('uploadFilePromise', config);
|
|
106
107
|
return new Promise(function (resolve, reject) {
|
|
107
108
|
var formData = new FormData();
|
|
108
109
|
formData.append('file', url);
|
|
@@ -111,8 +112,8 @@ function uploadFilePromise(url, config) {
|
|
|
111
112
|
fetch(config.baseUrl + "/declaration/material/file/files/api", {
|
|
112
113
|
method: 'POST',
|
|
113
114
|
body: formData,
|
|
114
|
-
|
|
115
|
-
Authorization: config.tokenTY
|
|
115
|
+
headers: {
|
|
116
|
+
'Authorization': config.tokenTY
|
|
116
117
|
}
|
|
117
118
|
}).then(function (response) {
|
|
118
119
|
return response.json();
|
package/lowcode_es/meta.js
CHANGED
|
@@ -90,7 +90,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
90
90
|
packageName = 'ydb-components-material';
|
|
91
91
|
}
|
|
92
92
|
if (version === void 0) {
|
|
93
|
-
version = '0.1.
|
|
93
|
+
version = '0.1.85';
|
|
94
94
|
}
|
|
95
95
|
if (basicLibraryVersion === void 0) {
|
|
96
96
|
basicLibraryVersion = {
|
package/lowcode_lib/meta.js
CHANGED
|
@@ -95,7 +95,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
95
95
|
packageName = 'ydb-components-material';
|
|
96
96
|
}
|
|
97
97
|
if (version === void 0) {
|
|
98
|
-
version = '0.1.
|
|
98
|
+
version = '0.1.85';
|
|
99
99
|
}
|
|
100
100
|
if (basicLibraryVersion === void 0) {
|
|
101
101
|
basicLibraryVersion = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ydb-components-material",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.85",
|
|
4
4
|
"description": "ydb-components-material",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -97,10 +97,10 @@
|
|
|
97
97
|
},
|
|
98
98
|
"componentConfig": {
|
|
99
99
|
"isComponentLibrary": true,
|
|
100
|
-
"materialSchema": "https://unpkg.com/ydb-components-material@0.1.
|
|
100
|
+
"materialSchema": "https://unpkg.com/ydb-components-material@0.1.85/build/lowcode/assets-prod.json"
|
|
101
101
|
},
|
|
102
102
|
"lcMeta": {
|
|
103
103
|
"type": "component"
|
|
104
104
|
},
|
|
105
|
-
"homepage": "https://unpkg.com/ydb-components-material@0.1.
|
|
105
|
+
"homepage": "https://unpkg.com/ydb-components-material@0.1.85/build/index.html"
|
|
106
106
|
}
|