Browse Source

字符串型

soft5566 3 years atrás
parent
commit
047a97a717
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/tuikuan/tuikuan.vue

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

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