|
|
@@ -143,9 +143,9 @@ const _sfc_main = {
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
- if (!(common_vendor.Ds.config && common_vendor.Ds.config.provider)) {
|
|
|
+ if (!(common_vendor.$s.config && common_vendor.$s.config.provider)) {
|
|
|
this.noSpace = true;
|
|
|
- common_vendor.Ds.chooseAndUploadFile = uni_modules_uniFilePicker_components_uniFilePicker_chooseAndUploadFile.chooseAndUploadFile;
|
|
|
+ common_vendor.$s.chooseAndUploadFile = uni_modules_uniFilePicker_components_uniFilePicker_chooseAndUploadFile.chooseAndUploadFile;
|
|
|
}
|
|
|
this.form = this.getForm("uniForms");
|
|
|
this.formItem = this.getForm("uniFormsItem");
|
|
|
@@ -245,7 +245,7 @@ const _sfc_main = {
|
|
|
*/
|
|
|
chooseFiles() {
|
|
|
const _extname = uni_modules_uniFilePicker_components_uniFilePicker_utils.get_extname(this.fileExtname);
|
|
|
- common_vendor.Ds.chooseAndUploadFile({
|
|
|
+ common_vendor.$s.chooseAndUploadFile({
|
|
|
type: this.fileMediatype,
|
|
|
compressed: false,
|
|
|
sizeType: this.sizeType,
|
|
|
@@ -456,7 +456,7 @@ const _sfc_main = {
|
|
|
fileList = {
|
|
|
fileList: [].concat(fileList)
|
|
|
};
|
|
|
- const urls = await common_vendor.Ds.getTempFileURL(fileList);
|
|
|
+ const urls = await common_vendor.$s.getTempFileURL(fileList);
|
|
|
return urls.fileList[0].tempFileURL || "";
|
|
|
},
|
|
|
/**
|