Browse Source

拍照水印修改

dev
wangmingyong@163.com 2 weeks ago
parent
commit
6f7d732303
  1. 1
      zdxt-web-client/zdxt-efcode-enterprise-app/src/util/w6sMedia.js
  2. 2
      zdxt-web-client/zdxt-efcode-enterprise-app/src/views/enterprise/nos/components/NosDetailMaterialsTab.vue

1
zdxt-web-client/zdxt-efcode-enterprise-app/src/util/w6sMedia.js

@ -99,7 +99,6 @@ const getTimeStr = () => {
} }
// 拍照并加水印 // 拍照并加水印
// 自己拼接时间+定位到 content,设 timeEnable/locationEnable 为 false 跳过 SDK 内部阻塞式 getLocation 调用
export const takePhotoWithWaterMark = async () => { export const takePhotoWithWaterMark = async () => {
await ensureW6sAuth() await ensureW6sAuth()
// console.log('[w6sMedia] 鉴权完成, 准备获取定位') // console.log('[w6sMedia] 鉴权完成, 准备获取定位')

2
zdxt-web-client/zdxt-efcode-enterprise-app/src/views/enterprise/nos/components/NosDetailMaterialsTab.vue

@ -450,7 +450,7 @@ const onTakePhoto = async (item) => {
}) })
} catch (err) { } catch (err) {
console.error('[NosDetail] w6s 拍照失败', err) console.error('[NosDetail] w6s 拍照失败', err)
showToast('拍照失败或已取消') // showToast('拍照失败或已取消')
} }
} }

Loading…
Cancel
Save