浏览代码

跳转小程序16

zhangyujun 3 年之前
父节点
当前提交
d3512e4a4c
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/mini/index.vue

+ 2 - 1
src/views/mini/index.vue

@@ -17,7 +17,8 @@ export default defineComponent({
 	setup() {
 		openApi
 			.jspapi({
-				url: encodeURIComponent(window.location.href.split('#')[0]+'/'),
+				// url: encodeURIComponent(window.location.href.split('#')[0]+'/'),
+				url:'https://www.baidu.com/'
 			})
 			.then((res) => {
 				let wxConfig = {