Commit 81ddeb04 authored by Damon's avatar Damon

feat: 扫描充电桩编码兼容

parent 71b8807f
......@@ -33,8 +33,8 @@
success: function (res) {
let result = res.result
if (result.substring(0, 4) === 'http') {
const arr = result.split('/#/')
console.log("arr", arr)
let arr = result.split('/#/')
if (arr.length < 2) arr = result.split('?')
result = arr[1]
}
self.dataValue = result
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment