Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在.vue中使用modal得到render error #3

Closed
SmarkSeven opened this issue May 18, 2017 · 2 comments
Closed

在.vue中使用modal得到render error #3

SmarkSeven opened this issue May 18, 2017 · 2 comments
Assignees

Comments

@SmarkSeven
Copy link

SmarkSeven commented May 18, 2017

在weex的.vue文件中使用modal,页面左上角出现:render error:-2013

code:

<template>
  <div class="wrapper" @click="click">
    <image :src="logoUrl" class="logo"></image>
    <text class="title">{{target}}</text>
    <text class="desc">Now, let's use vue to build your weex app.</text>
  </div>
</template>

<style>
  .wrapper { align-items: center; margin-top: 120px; }
  .title { padding-top:40px; padding-bottom: 40px; font-size: 48px; }
  .logo { width: 360px; height: 156px; }
  .desc { padding-top: 20px; color:#888; font-size: 24px;}
</style>

<script>
  import Nat from 'natjs'
  export default {
    data: {
      logoUrl: 'http://img1.vued.vanthink.cn/vued08aa73a9ab65dcbd360ec54659ada97c.png',
      target: 'World'
    },
    methods: {
      click: function (e) {
        Nat.toast({
          message: 'Nat',
          duration: 2000,
        })
      }
    }
  }
</script>
@acathur
Copy link
Member

acathur commented May 30, 2017

weex目前对vue的支持三端适配很不好,�我们会在weex对一些必要支持完善后跟进适配vue

@acathur acathur self-assigned this Jul 12, 2017
@acathur
Copy link
Member

acathur commented Jul 12, 2017

.vue is supported in nat 0.0.6

@acathur acathur closed this as completed Jul 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants