提交 04c97724 编写于 作者: taohebin@dcloud.io's avatar taohebin@dcloud.io

feat: 增加引擎版本号

上级 7046f3f8
...@@ -35,6 +35,14 @@ ...@@ -35,6 +35,14 @@
<input class="uni-input" type="text" :disabled="true" placeholder="未获取" :value="appVersionCode"/> <input class="uni-input" type="text" :disabled="true" placeholder="未获取" :value="appVersionCode"/>
</view> </view>
</view> </view>
<view class="uni-list-cell">
<view class="uni-pd">
<view class="uni-label" style="width:180px;">引擎版本号</view>
</view>
<view class="uni-list-cell-db">
<input class="uni-input" type="text" :disabled="true" placeholder="未获取" :value="version"/>
</view>
</view>
<view class="uni-list-cell"> <view class="uni-list-cell">
<view class="uni-pd"> <view class="uni-pd">
<view class="uni-label" style="width:180px;">应用设置的语言</view> <view class="uni-label" style="width:180px;">应用设置的语言</view>
...@@ -70,7 +78,8 @@ ...@@ -70,7 +78,8 @@
appVersion:"", appVersion:"",
appVersionCode:"", appVersionCode:"",
appLanguage:"", appLanguage:"",
isUniAppX:"" isUniAppX:"",
version:"",
} }
}, },
onUnload:function(){ onUnload:function(){
...@@ -84,6 +93,7 @@ ...@@ -84,6 +93,7 @@
this.appVersionCode = res.appVersionCode ?? ""; this.appVersionCode = res.appVersionCode ?? "";
this.appLanguage = res.appLanguage ?? ""; this.appLanguage = res.appLanguage ?? "";
this.isUniAppX = res.isUniAppX ? "是": "否"; this.isUniAppX = res.isUniAppX ? "是": "否";
this.version = res.version ?? "";
} }
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册