提交 831c6aaf authored 作者: lihuihui's avatar lihuihui

updata

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