소스 검색

字符串型

soft5566 3 년 전
부모
커밋
047a97a717
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/tuikuan/tuikuan.vue

+ 1 - 1
src/components/tuikuan/tuikuan.vue

@@ -86,7 +86,7 @@
 		},
 		created() {
 			var level = sessionStorage.getItem('level');
-			if (level == 2) {
+			if (level === '2') {
 				// 获取总金额
 				this.get_total_amount();
 				// 获取余额列表