|
@@ -205,12 +205,13 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
// 本地化 url 适配
|
|
// 本地化 url 适配
|
|
urlToFitFu(url) {
|
|
urlToFitFu(url) {
|
|
- const resUrl = url;
|
|
|
|
- if (url.includes("https://super.4dage.com")) {
|
|
|
|
- return url.replace("https://super.4dage.com", "");
|
|
|
|
- } else if (url.includes("http://super.4dage.com")) {
|
|
|
|
- return url.replace("http://super.4dage.com", "");
|
|
|
|
- } else return resUrl;
|
|
|
|
|
|
+ return url
|
|
|
|
+ // const resUrl = url;
|
|
|
|
+ // if (url.includes("https://super.4dage.com")) {
|
|
|
|
+ // return url.replace("https://super.4dage.com", "");
|
|
|
|
+ // } else if (url.includes("http://super.4dage.com")) {
|
|
|
|
+ // return url.replace("http://super.4dage.com", "");
|
|
|
|
+ // } else return resUrl;
|
|
},
|
|
},
|
|
|
|
|
|
// 点击左右箭头
|
|
// 点击左右箭头
|
|
@@ -227,9 +228,9 @@ export default {
|
|
async getData() {
|
|
async getData() {
|
|
// https://www.4dmodel.com/
|
|
// https://www.4dmodel.com/
|
|
|
|
|
|
- // let url = `https://super.4dage.com/data/${ // 线上数据
|
|
|
|
|
|
+ let url = `https://super.4dage.com/data/${ // 线上数据
|
|
|
|
|
|
- let url = `/data/${
|
|
|
|
|
|
+ // let url = `/data/${
|
|
//本地化部署
|
|
//本地化部署
|
|
this.id
|
|
this.id
|
|
}/hot/js/data.js?time=${Math.random()}`;
|
|
}/hot/js/data.js?time=${Math.random()}`;
|