提交 abe34877 authored 作者: lihuihui's avatar lihuihui

updata

上级 d1cf3883
...@@ -28,7 +28,7 @@ export default { ...@@ -28,7 +28,7 @@ export default {
}, },
methods: { methods: {
cardChange(e) { cardChange(e) {
const eData = JSON.stringify(e).replace(/:/gi, '=').replace(/,/gi, '&').replace(/({")|("})/gi, '').replace(/"/gi, '') const eData = JSON.stringify(e).replace(/:/gi, '=').replace(/,/gi, '&').replace(/({)|(})/gi, '').replace(/"/gi, '')
const path = `/exam/answer?${eData}` const path = `/exam/answer?${eData}`
if (this.isWeapp) { if (this.isWeapp) {
const src = encodeURIComponent(`${window.location.origin}${path}`) const src = encodeURIComponent(`${window.location.origin}${path}`)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论