Skip to content

nutui4-vue3-taro-tsx,组件未正常解析 #11

@venmax

Description

@venmax

demo写法:

        <View class='content'>
          <View><Text>{state.msg}</Text> <Dongdong></Dongdong> </View>
          <nut-button type="primary" onClick={() => handleClick(state.msg2)} >点我</nut-button>
          <nut-cell
            show-icon={true}
            isLink={true}
            onClick={() => switchActionSheet('isVisible1')}

          >
            <span><label>基础用法</label></span>
            <div>{state.val}</div>
          </nut-cell>
          <nut-action-sheet
            v-model:visible={state.isVisible1}
            menu-items={menuItemsOne}
            onChoose={chooseItem}
          >
          </nut-action-sheet>
        </View>

显示:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions