weex icon indicating copy to clipboard operation
weex copied to clipboard

Data binding,if the value of variable is 0,the data transmission error

Open LululuSir opened this issue 10 years ago • 2 comments

Data binding,if the value of variable is 0,the data transmission error. such as:

<template>
  <text>{{content}}</text>
</template>

<script>
  module.exports = {
    data: {
      content:0,
    },
  }
</script>

LululuSir avatar Apr 25 '16 08:04 LululuSir

It seems a truthy/falthy bug @terrykingcha

Jinjiang avatar Apr 25 '16 09:04 Jinjiang

When I try,It seem a bug of h5-render @MrRaindrop . See the image below:

JSFM will send the zero value, but the render can't been rendering.

terrykingcha avatar May 04 '16 02:05 terrykingcha