Commit f290c6ef by huangzhi

feat: 分享ok

parent ba96cdec
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
<script> <script>
import { hostPrefix } from '@/config.js' import { hostPrefix } from '@/config.js'
import { ffrom } from '@/utils/enums' import { ffrom } from '@/utils/enums'
import qs from 'qs'
export default { export default {
name: 'WebPage', name: 'WebPage',
...@@ -71,6 +70,17 @@ export default { ...@@ -71,6 +70,17 @@ export default {
} }
} }
}, },
watch: {
loadUrl: {
handler(url) {
// 课程详情时不隐藏,其他都隐藏
if (url && url.includes('h5-course/detail')) {
return
}
uni.hideShareMenu()
},
},
},
mounted() { mounted() {
// this.options.scene 无值,说明是非扫描二维码,此时自己拼装路径 // this.options.scene 无值,说明是非扫描二维码,此时自己拼装路径
if (!this.options.scene) { if (!this.options.scene) {
......
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