You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "purplebuterfly (JIRA)" <ji...@apache.org> on 2018/04/02 03:32:00 UTC

[jira] [Created] (WEEX-275) Android 打包 apk vue数据绑定

purplebuterfly created WEEX-275:
-----------------------------------

             Summary: Android 打包 apk  vue数据绑定
                 Key: WEEX-275
                 URL: https://issues.apache.org/jira/browse/WEEX-275
             Project: Weex
          Issue Type: Bug
         Environment: win10 开发
            Reporter: purplebuterfly
            Assignee: Adam Feng
         Attachments: newap1p.apk

本人刚学 按照教程 weex creat 生成项目 修改helloword。vue文件
<template>
<div >
<textclass="message">Now, let's use Vue.js to build your Weex app.</text>
<divstyle="height: 150px"@click="click4">
<span>ADD<spanv-text="indexA.age"></span>\{{showDiv}}</span>
</div>
</div>
</template>
<script>
export default {
data () {
return {
list: [],
indexA: {
age:12
},
showDiv:true
}
},
methods: {
click4 () {
this.indexA.age+=2
this.showDiv=!this.showDiv
}
}
}
</script>
npm run serve  没问题 weex build android打包Android apk 安装到手机 点击没效果



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)