Browse Source

打开医生的链接在微信上获取不到链接后面的get 参数did

master
kuaileWu 6 months ago
parent
commit
20ae051417
  1. 2
      App.vue

2
App.vue

@ -8,7 +8,7 @@
console.log(option,'option====');
var did = false
try {
const pathParts = location.href.split('/');
const pathParts = location.pathname.split('/');
const paramIndex = pathParts.indexOf('did');
if(paramIndex !== -1 && paramIndex + 1 < pathParts.length) {
did = pathParts[paramIndex + 1]

Loading…
Cancel
Save