You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "Adam Feng (JIRA)" <ji...@apache.org> on 2018/05/14 13:20:00 UTC

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

     [ https://issues.apache.org/jira/browse/WEEX-275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Feng closed WEEX-275.
--------------------------
    Resolution: Fixed

Please use Engilish, thanks.

> 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
>            Priority: Major
>              Labels: Android, apk, vue
>         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)