p-pc-ui 1.2.8 → 1.2.9
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.
|
@@ -278,9 +278,8 @@ const getFormData = async (options: { no_check?: Boolean } = {}) => {
|
|
|
278
278
|
if (renderItem?.visibleHook && !renderItem.visibleHook(formData)) {
|
|
279
279
|
continue;
|
|
280
280
|
}
|
|
281
|
-
|
|
282
281
|
// 上传到oss
|
|
283
|
-
else if (renderItem.type == "uploadOss") {
|
|
282
|
+
else if (renderItem.type == "uploadOss" || renderItem.type == "uploadTos") {
|
|
284
283
|
const fileData = toRaw(formData[key]);
|
|
285
284
|
const keys = fileData.map((val) => {
|
|
286
285
|
return val?.response?.key || val.key;
|