wangguoyu преди 1 седмица
родител
ревизия
d0e8689258
променени са 2 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 2 2
      pages/study/lookShipin.vue
  2. 2 2
      pages/study/lookShipinNew.vue

+ 2 - 2
pages/study/lookShipin.vue

@@ -122,7 +122,7 @@
 		},
 		methods: {
 			courseBjFun() {
-				switch (Number(cacheManager.get('auth').cardId)) {
+				switch (Number(cacheManager.get('auth').subjectId)) {
 					case 1:
 						return 'static/images/course/couse-shuxue-bj.png'
 						break;
@@ -134,7 +134,7 @@
 				}
 			},
 			courseIconFun() {
-				switch (Number(cacheManager.get('auth').cardId)) {
+				switch (Number(cacheManager.get('auth').subjectId)) {
 					case 1:
 						return 'static/images/course/shuxue-icon.png'
 						break;

+ 2 - 2
pages/study/lookShipinNew.vue

@@ -122,7 +122,7 @@
 		},
 		methods: {
 			courseBjFun() {
-				switch (Number(cacheManager.get('auth').cardId)) {
+				switch (Number(cacheManager.get('auth').subjectId)) {
 					case 1:
 						return 'static/images/course/couse-shuxue-bj.png'
 						break;
@@ -134,7 +134,7 @@
 				}
 			},
 			courseIconFun() {
-				switch (Number(cacheManager.get('auth').cardId)) {
+				switch (Number(cacheManager.get('auth').subjectId)) {
 					case 1:
 						return 'static/images/course/shuxue-icon.png'
 						break;