Pārlūkot izejas kodu

Merge branch 'master' of http://git.cc-lotus.info/live/web-live

lrf402788946 4 gadi atpakaļ
vecāks
revīzija
7bc9df9f20

+ 4 - 0
src/router/index.js

@@ -1,6 +1,10 @@
 import Vue from 'vue';
 import VueRouter from 'vue-router';
 import store from '@/store/index';
+const originalPush = VueRouter.prototype.push;
+VueRouter.prototype.push = function push(location) {
+  return originalPush.call(this, location).catch(err => err);
+};
 const jwt = require('jsonwebtoken');
 const list = [
   {

+ 1 - 1
src/views/market/list/detail-model/model-1.vue

@@ -214,7 +214,7 @@ export default {
           // this.$message.error('游客身份无法与卖家对话,请先注册');
           this.$message({
             dangerouslyUseHTMLString: true,
-            message: '<strong><a href="http://broadcast.waityou24.cn/live/webLogin" style="color:red;">游客身份无法与卖家对话,请先注册</a></strong>',
+            message: '<strong><a href="http://broadcast.waityou24.cn/live/login" style="color:red;">游客身份无法与卖家对话,请先注册</a></strong>',
             type: 'error',
           });
           return;

+ 1 - 1
src/views/market/list/detail-model/model-3.vue

@@ -137,7 +137,7 @@ export default {
           // this.$message.error('游客身份无法与卖家对话,请先注册');
           this.$message({
             dangerouslyUseHTMLString: true,
-            message: '<strong><a href="http://broadcast.waityou24.cn/live/webLogin" style="color:red;">游客身份无法与卖家对话,请先注册</a></strong>',
+            message: '<strong><a href="http://broadcast.waityou24.cn/live/login" style="color:red;">游客身份无法与卖家对话,请先注册</a></strong>',
             type: 'error',
           });
           return;

+ 1 - 1
src/views/market/list/detail-model/model-4.vue

@@ -167,7 +167,7 @@ export default {
           // this.$message.error('游客身份无法与卖家对话,请先注册');
           this.$message({
             dangerouslyUseHTMLString: true,
-            message: '<strong><a href="http://broadcast.waityou24.cn/live/webLogin" style="color:red;">游客身份无法与卖家对话,请先注册</a></strong>',
+            message: '<strong><a href="http://broadcast.waityou24.cn/live/login" style="color:red;">游客身份无法与卖家对话,请先注册</a></strong>',
             type: 'error',
           });
           return;

+ 1 - 1
src/views/market/list/detail-model/model-5.vue

@@ -188,7 +188,7 @@ export default {
           // this.$message.error('游客身份无法与卖家对话,请先注册');
           this.$message({
             dangerouslyUseHTMLString: true,
-            message: '<strong><a href="http://broadcast.waityou24.cn/live/webLogin" style="color:red;">游客身份无法与卖家对话,请先注册</a></strong>',
+            message: '<strong><a href="http://broadcast.waityou24.cn/live/login" style="color:red;">游客身份无法与卖家对话,请先注册</a></strong>',
             type: 'error',
           });
           return;