Skip to content

Instantly share code, notes, and snippets.

@zgia
Created March 10, 2020 06:44
Show Gist options
  • Save zgia/36f793f5d592855ab1cdccb61522d660 to your computer and use it in GitHub Desktop.
Save zgia/36f793f5d592855ab1cdccb61522d660 to your computer and use it in GitHub Desktop.
van-checkbox-group horizontal is invalid
<van-cell-group title="标签">
<van-checkbox-group value="{{ tags }}" bind:change="onChangeTags" direction="horizontal">
<block v-for="(tagid, tagtitle) in tagList" :key="{{ tagid }}">
<van-checkbox name="{{ tagid }}" shape="square">{{ tagtitle }}</van-checkbox>
</block>
</van-checkbox-group>
</van-cell-group>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment