Przeglądaj źródła

特殊供应商跳转限制

zhengjinyi 3 lat temu
rodzic
commit
085da0db56
2 zmienionych plików z 3 dodań i 3 usunięć
  1. 2 2
      main.js
  2. 1 1
      pages/goods/product.vue

+ 2 - 2
main.js

@@ -5,7 +5,7 @@ import './services/index.js'
 import * as Api from '@/common/config/caimeiApi.js'
 import * as Regs from '@/common/config/common.js'
 // 友盟
-// import Uma from './plugins/uma'
+import Uma from './plugins/uma'
 
 // 公共组件 全局组件
 import { msg, modal, prePage, boundingClientRect } from './utils/util'
@@ -42,7 +42,7 @@ Vue.prototype.$Static = 'https://static.caimei365.com/app/img/'
 App.mpType = 'app'
 
 // 使用插件
-// Vue.use(Uma)
+Vue.use(Uma)
 
 const app = new Vue({
     ...App

+ 1 - 1
pages/goods/product.vue

@@ -858,7 +858,7 @@ export default {
 					this.shop = response.data.shop
 					this.shopId = response.data.shopId
 					this.product = response.data
-					if(this.shop.shopType === 2){
+					if(this.product.shopType === 2){
 						this.isShowCaimeiShop = true
 					}
 					if (this.product.userLike && this.product.userLike == 1) {