Bladeren bron

传参规则修改

任一存 1 jaar geleden
bovenliggende
commit
8e3ec927f0
2 gewijzigde bestanden met toevoegingen van 2 en 7 verwijderingen
  1. 1 1
      game/.env.dev
  2. 1 6
      game/src/views/ShopView.vue

+ 1 - 1
game/.env.dev

@@ -1,4 +1,4 @@
 VUE_APP_CLI_MODE=dev
 NODE_ENV=development
 PUBLIC_PATH=/
-VUE_APP_DEPLOY_ORIGIN=https://sit-cnzhengquan.4dage.com/
+VUE_APP_DEPLOY_ORIGIN=https://sit-cnzhengquan.4dage.com

+ 1 - 6
game/src/views/ShopView.vue

@@ -105,7 +105,7 @@
         >
           <div class="left">
             <div class="type">
-              {{ recordTypeForShowMap[recordItem.type] ? recordTypeForShowMap[recordItem.type] : recordItem.type }}
+              {{ recordItem.type }}
             </div>
             <div class="time">
               {{ recordItem.updateTime }}
@@ -160,11 +160,6 @@ getBonusPointRecord().then((res) => {
   recordList.value = res.reverse()
 })
 
-const recordTypeForShowMap = {
-  'game': '游戏积分',
-  'online': '观看视频',
-  'redeem': '奖品兑换',
-}
 </script>
 
 <style lang="less" scoped>