shaogen1995 2 years ago
parent
commit
2f99e9c2a6
2 changed files with 3 additions and 3 deletions
  1. 2 2
      scene/public/static/js/Hot.js
  2. 1 1
      scene/src/views/gui/components/share.vue

+ 2 - 2
scene/public/static/js/Hot.js

@@ -46,8 +46,8 @@ window.initHot = function (model) {
         var r = link.substring(link.indexOf("html") + 4),
             o = "en" == manage.number("lang") ? "&lang=" + manage.number("lang") : ""; -
         1 == r.indexOf("?") ? src = link + "?time=" + randomTime().getTime() + "&id=" + window.number + o : src = link + "&time=" + randomTime().getTime() + "&id=" + window.number + o
-        // return src.replace('https://www.4dmodel.com/SuperTwo/hot_online1', 'hot')
-        return src //打包 
+        return src.replace('https://www.4dmodel.com/SuperTwo/hot_online1', 'hot')
+        // return src //打包 
 
     }
     var removeSrcPostMark = function (url) { //去除texture.load时自动加上的'?'

+ 1 - 1
scene/src/views/gui/components/share.vue

@@ -68,7 +68,7 @@ export default {
   async created() {
     try {
       const res = await getVisitAPI();
-      this.num = res.data.pcsShow;
+      this.num = res.data.pcsShow + res.data.pcsVisit;
     } catch (e) {
       console.log(e);
     }