<wx-open-launch-weapp id="launch-btn" :username="username" :path="path" @launch="handleLaunchFn"
@error="handleErrorFn" style="display: block;">
<script type="text/wxtag-template">
<style>
.m-btn {
width: 100%;
text-align: center;
color: #fff;
font-size: 16px;
background: linear-gradient(to right, #fe8888 0%, #ff4f4f 100%);
border-radius: 10px;
padding: 10px 0;
}
</style>
<div class="m-btn">立即注册</div>
</script>
</wx-open-launch-weapp>
`wx.config` 时开启一下调试模式,看下有报错信息吗?