Merge branch 'gaohao' of https://e.coding.net/g-cphe0354/duanju/video_app into test
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
<view>退出登录</view>
|
||||
<view><u-icon name="arrow-right"></u-icon></view>
|
||||
</view>
|
||||
<view class="version" style="position: absolute;bottom: 50rpx;left: 0;right: 0;margin: auto;text-align: center;color: #666;">{{ version }}版本</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -36,11 +37,14 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
version: null,
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
|
||||
plus.runtime.getProperty(plus.runtime.appid, widgetInfo => {
|
||||
console.log(widgetInfo)
|
||||
this.version = widgetInfo.version
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
goNav(e) {
|
||||
|
||||
Reference in New Issue
Block a user