|
@@ -13,6 +13,7 @@
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import handoutsBox from "@/components/course/handoutsBox.vue";
|
|
import handoutsBox from "@/components/course/handoutsBox.vue";
|
|
|
|
+import { metaSetScalable } from "../../common/navTo";
|
|
export default {
|
|
export default {
|
|
name: "SaasMiniprogramJydetail",
|
|
name: "SaasMiniprogramJydetail",
|
|
|
|
|
|
@@ -22,7 +23,11 @@ export default {
|
|
goodsDetail: {},
|
|
goodsDetail: {},
|
|
};
|
|
};
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+ onShow() {
|
|
|
|
+ // #ifdef H5
|
|
|
|
+ metaSetScalable("no");
|
|
|
|
+ // #endif
|
|
|
|
+ },
|
|
async onLoad(options) {
|
|
async onLoad(options) {
|
|
this.options = options;
|
|
this.options = options;
|
|
if (this.options.skipPort) {
|
|
if (this.options.skipPort) {
|
|
@@ -40,6 +45,15 @@ export default {
|
|
this.goodsDetail = res.data.data;
|
|
this.goodsDetail = res.data.data;
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+ metaSetScalable1() {
|
|
|
|
+ let meta = document.querySelector(".meta_scalable_yes");
|
|
|
|
+ console.log("🚀 ~ file: jydetail.vue:47 ~ metaSetScalable ~ meta:", meta);
|
|
|
|
+ if (meta) {
|
|
|
|
+ meta.remove();
|
|
|
|
+ }
|
|
|
|
+ document.querySelector(".meta_scalable_yes");
|
|
|
|
+ console.log("12321321", meta);
|
|
|
|
+ },
|
|
},
|
|
},
|
|
components: {
|
|
components: {
|
|
handoutsBox,
|
|
handoutsBox,
|