浏览代码

修复学习计划-跳转商品

Tang 3 年之前
父节点
当前提交
f297fdc554
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 1 1
      common/request.js
  2. 2 1
      pages2/plan/index.vue

+ 1 - 1
common/request.js

@@ -4,7 +4,7 @@ import store from '@/store/index.js'
 import api from './api.js'
 var num = 1
 
-export const BASE_URL = 'http://42.192.164.187:19005' //接口api  http://42.192.164.187:19005 http://192.168.1.222:5055
+export const BASE_URL = 'http://192.168.1.222:5055' //接口api  http://42.192.164.187:19005 http://192.168.1.222:5055
 
 
 export const BASE_IMG_URL = 'https://file-dev.xyyxt.net/' //图片上传api  'https://file.xyyxt.net/

+ 2 - 1
pages2/plan/index.vue

@@ -330,7 +330,8 @@ export default {
 		},
 		jumpDetail(item) {
 			this.$navTo.togo('/pages2/wd/course', {
-				id: item.goodsId
+				id: item.goodsId,
+				gid:item.gradeId
 			});
 			return;
 		},