Merge branch 'gsgs-dev' of http://192.168.34.160:8023/admin/zhgdyunapp into gsgs-dev
This commit is contained in:
commit
211488c102
@ -8,9 +8,20 @@
|
||||
"sassImplementationName" : "node-sass",
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
"plugins" : {
|
||||
"Webview" : {
|
||||
"allowFileAccess" : true,
|
||||
"allowUniversalAccessFromFileURLs" : true,
|
||||
"allowFileAccessFromFileURLs" : true // 新增此配置
|
||||
}
|
||||
},
|
||||
"usingComponents" : true,
|
||||
"nvueCompiler" : "uni-app",
|
||||
"compilerVersion" : 3,
|
||||
"compression" : {
|
||||
"enable" : true,
|
||||
"type" : "br" // 使用 Brotli 压缩
|
||||
},
|
||||
"compatible" : {
|
||||
"ignoreVersion" : true
|
||||
},
|
||||
@ -35,8 +46,7 @@
|
||||
"Record" : {},
|
||||
"Camera" : {},
|
||||
"Geolocation" : {},
|
||||
"LivePusher" : {},
|
||||
"Push" : {}
|
||||
"LivePusher" : {}
|
||||
},
|
||||
/* 应用发布信息 */
|
||||
"distribute" : {
|
||||
@ -89,8 +99,27 @@
|
||||
"privacyDescription" : {
|
||||
"NSPhotoLibraryUsageDescription" : "允许照片访问以修改您的头像;在您使用智慧安全进行办公时添加照片到您所提交的表单。",
|
||||
"NSCameraUsageDescription" : "允许相机访问用于您在使用智慧安全工作期间拍摄照片、拍摄视频、扫描二维码。",
|
||||
"NSLocationWhenInUseUsageDescription" : "您的位置信息将用于您在使用智慧安全期间显示当地天气;新增巡检点、一键报警功能中获取您当前位置信息。"
|
||||
}
|
||||
"NSLocationWhenInUseUsageDescription" : "您的位置信息将用于您在使用智慧安全期间显示当地天气;新增巡检点、一键报警功能中获取您当前位置信息。",
|
||||
"NSMicrophoneUsageDescription" : "允许麦克风访问用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能。",
|
||||
// 添加文件访问权限描述
|
||||
"NSDocumentsFolderUsageDescription" : "需要访问应用文档目录以加载资源文件",
|
||||
"NSDownloadsFolderUsageDescription" : "需要访问下载目录",
|
||||
// 新增以下权限描述
|
||||
"NSFileProviderDomainUsageDescription" : "需要访问文件系统以加载解码器资源",
|
||||
"NSFileProviderPresentedItemUbiquityAttributesDescription" : "需要访问文件系统资源"
|
||||
},
|
||||
// 启用文件共享
|
||||
"UIFileSharingEnabled" : true,
|
||||
"LSSupportsOpeningDocumentsInPlace" : true,
|
||||
// 新增以下配置
|
||||
"WKPreferences" : {
|
||||
"allowFileAccessFromFileURLs" : true,
|
||||
"allowUniversalAccessFromFileURLs" : true
|
||||
},
|
||||
// 新增沙盒扩展权限
|
||||
"com.apple.security.app-sandbox" : true,
|
||||
"com.apple.security.files.user-selected.read-write" : true,
|
||||
"com.apple.security.files.downloads.read-write" : true
|
||||
},
|
||||
/* SDK配置 */
|
||||
"sdkConfigs" : {
|
||||
@ -107,12 +136,6 @@
|
||||
"appkey_ios" : "9510eb01b56e6428646b256cc379f695",
|
||||
"appkey_android" : "3b060f3a0ce4bafebeba1621dcd99c31"
|
||||
}
|
||||
},
|
||||
// "speech" : {
|
||||
// "ifly" : {}
|
||||
// },
|
||||
"push" : {
|
||||
"unipush" : {}
|
||||
}
|
||||
},
|
||||
"icons" : {
|
||||
@ -178,21 +201,46 @@
|
||||
"minified" : true
|
||||
},
|
||||
"usingComponents" : true,
|
||||
"permission" : {}
|
||||
"permission" : {
|
||||
"scope.record" : {
|
||||
"desc" : "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
|
||||
}
|
||||
},
|
||||
"requiredPrivateInfos" : [ "getRecorderManager" ]
|
||||
},
|
||||
"mp-alipay" : {
|
||||
"usingComponents" : true
|
||||
"usingComponents" : true,
|
||||
"permission" : {
|
||||
"scope.record" : {
|
||||
"desc" : "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
|
||||
}
|
||||
}
|
||||
},
|
||||
"mp-baidu" : {
|
||||
"usingComponents" : true
|
||||
"usingComponents" : true,
|
||||
"permission" : {
|
||||
"scope.record" : {
|
||||
"desc" : "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
|
||||
}
|
||||
}
|
||||
},
|
||||
"mp-toutiao" : {
|
||||
"usingComponents" : true
|
||||
"usingComponents" : true,
|
||||
"permission" : {
|
||||
"scope.record" : {
|
||||
"desc" : "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
|
||||
}
|
||||
}
|
||||
},
|
||||
"uniStatistics" : {
|
||||
"enable" : false
|
||||
},
|
||||
"h5" : {
|
||||
"permissions" : {
|
||||
"scope.record" : {
|
||||
"desc" : "您的位置信息将用于您在使用智慧安全期间进行语音对讲、语音记录、语音识别等功能"
|
||||
}
|
||||
},
|
||||
"devServer" : {
|
||||
"port" : 8088,
|
||||
"disableHostCheck" : true,
|
||||
@ -225,7 +273,8 @@
|
||||
"enable" : false
|
||||
}
|
||||
},
|
||||
"title" : "智慧工地云"
|
||||
"title" : "智慧工地云",
|
||||
"template" : ""
|
||||
},
|
||||
"vueVersion" : "2"
|
||||
}
|
||||
|
||||
@ -1661,8 +1661,8 @@
|
||||
success(res) {
|
||||
const tempFilePaths = res.tempFilePaths;
|
||||
// #ifdef APP-PLUS
|
||||
that.canversList(tempFilePaths[0]);
|
||||
return
|
||||
// that.canversList(tempFilePaths[0]);
|
||||
// return
|
||||
// #endif
|
||||
uni.uploadFile({
|
||||
url: that.url_config + 'upload/image', //仅为示例,非真实的接口地址
|
||||
|
||||
@ -1759,8 +1759,8 @@
|
||||
success(res) {
|
||||
const tempFilePaths = res.tempFilePaths;
|
||||
// #ifdef APP-PLUS
|
||||
that.canversList(tempFilePaths[0]);
|
||||
return
|
||||
// that.canversList(tempFilePaths[0]);
|
||||
// return
|
||||
// #endif
|
||||
uni.uploadFile({
|
||||
url: that.url_config + 'upload/image', //仅为示例,非真实的接口地址
|
||||
|
||||
@ -208,8 +208,8 @@
|
||||
const tempFilePaths = res.tempFilePaths;
|
||||
console.log(222, tempFilePaths[0])
|
||||
// #ifdef APP-PLUS
|
||||
that.canversList(tempFilePaths[0]);
|
||||
return
|
||||
// that.canversList(tempFilePaths[0]);
|
||||
// return
|
||||
// #endif
|
||||
uni.uploadFile({
|
||||
url: that.url_config + 'upload/image', //仅为示例,非真实的接口地址
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user