wangguoyu 1 tydzień temu
rodzic
commit
d0e8689258
2 zmienionych plików z 4 dodań i 4 usunięć
  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;