Explorar o código

修改自动积分

347617796@qq.com %!s(int64=4) %!d(string=hai) anos
pai
achega
1a4f9c96ad
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      src/views/voluntarilyPoint.vue

+ 5 - 5
src/views/voluntarilyPoint.vue

@@ -320,11 +320,11 @@ export default {
 	},
 	created() {},
 	mounted() {
-		// if (localStorage.getItem('voluntarilyPoint')) {
-		// 	this.tips_show = false;
-		// } else {
-		// 	this.tips_show = true;
-		// }
+		if (localStorage.getItem('voluntarilyPoint')) {
+			this.tips_show = false;
+		} else {
+			this.tips_show = true;
+		}
 		this.get_role_lists();
 	},
 	methods: {