|
@@ -12,7 +12,7 @@ let register = reactive({
|
|
|
list: [],
|
|
|
});
|
|
|
|
|
|
-console.log('profile',store.profile);
|
|
|
+console.log("profile", store.profile);
|
|
|
(async () => {
|
|
|
try {
|
|
|
const response = await axios.get(
|
|
@@ -50,7 +50,7 @@ console.log('profile',store.profile);
|
|
|
<img src="@/assets/img/passport/icon-03.png" alt="" />
|
|
|
<p>
|
|
|
總共 <br />
|
|
|
- <strong> {{ store.profile.points * 3 }} </strong> <small>小時</small>
|
|
|
+ <strong> {{ store.profile.points }} </strong> <small>小時</small>
|
|
|
</p>
|
|
|
</div>
|
|
|
</v-col>
|
|
@@ -67,7 +67,9 @@ console.log('profile',store.profile);
|
|
|
<img src="@/assets/img/passport/icon-03.png" alt="" />
|
|
|
<p>
|
|
|
總共 <br />
|
|
|
- <strong> {{ store.profile.points }} </strong> <small>點</small>
|
|
|
+ <!-- 小數點無條件捨去 -->
|
|
|
+ <strong> {{ Math.floor(store.profile.points / 3) }} </strong>
|
|
|
+ <small class="ps-2">點</small>
|
|
|
</p>
|
|
|
</div>
|
|
|
</v-col>
|