wangguoyu hace 1 semana
padre
commit
d0e8689258
Se han modificado 2 ficheros con 4 adiciones y 4 borrados
  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;