小程序formId生成多个的解决方案
发布于 6 年前 作者 baiping 5670 次浏览 来自 问答

小程序消息推送formId生成多个

2 回复

<button formType=“submit” hover-class=‘none’>

<form bindsubmit=“collectFormIds” report-submit="{{true}}">

<button formType=“submit” hover-class=‘none’>

<form bindsubmit=“collectFormIds” report-submit="{{true}}">

<button formType=“submit” hover-class=‘none’>

<form bindsubmit=“collectFormIds” report-submit="{{true}}">

<button formType=“submit” hover-class=‘none’>

<form bindsubmit=“collectFormIds” report-submit="{{true}}">

<button formType=“submit” hover-class=‘none’>

<form bindsubmit=“collectFormIds” report-submit="{{true}}">

<button formType=“submit” hover-class=‘none’>

<form bindsubmit=“collectFormIds” report-submit="{{true}}">

<button formType=“submit” hover-class=‘none’>

<form bindsubmit=“collectFormIds” report-submit="{{true}}">

<button formType=“submit” hover-class=‘none’>

<form bindsubmit=“collectFormIds” report-submit="{{true}}">

<button formType=“submit” hover-class=‘none’>

<form bindsubmit=“collectFormIds” report-submit="{{true}}">

<button formType=“submit” hover-class=‘none’>

<form bindsubmit=“collectFormIds” report-submit="{{true}}">

<button formType=“submit” hover-class=‘none’>

<form bindsubmit=“collectFormIds” report-submit="{{true}}">

<button formType=“submit” hover-class=‘none’>

<form bindsubmit=“collectFormIds” report-submit="{{true}}">

<button formType=“submit” hover-class=‘none’>

<form bindsubmit=“collectFormIds” report-submit="{{true}}">

<button class=‘item {{item.className}} {{index !== 0 ? “mt30”:""}}’ formType=“submit”>

<view class=‘item-left’>{{item.name}}</view>

<view class=‘item-right’>

<text>查看更多</text>

<text class=‘ml10’>></text>

</view>

</button>

</form>

</button>

</form>

</button>

</form>

</button>

</form>

</button>

</form>

</button>

</form>

</button>

</form>

</button>

</form>

</button>

</form>

</button>

</form>

</button>

</form>

</button>

</form>

</button>

</form>

</button>


我写了个组件,来生成

form套button套slot 。。然后疯狂引用,巴不得用户点哪里都生成个form-id

回到顶部