@@ -80,9 +80,16 @@
}
function getBase64(img) {
+ if (!img) {
+ uni.showToast({
+ title: '签名异常'
+ })
+ return;
+ }
+
httpApi.getHetongQianming({
id: info.id,
- fuzeren: img
+ fuzeren: img.replace(/^data:image\/\w+;base64,/,'')
}).then(res => {
if (res.data) {
uni.showToast({