uni-app cli 编译小程序出现问题

uni-app cli 编译小程序出现问题

项目信息 版本/方式
产品分类 uniapp/小程序/微信
PC开发环境操作系统 Windows
PC开发环境操作系统版本号 win 10
第三方开发者工具版本号 最新
基础库版本号 最新
项目创建方式 CLI
CLI版本号 最新

示例代码:

<view>
    <input v-model="e.product_nums" type="number" @change="inputChange"/>  
</view>

操作步骤:

  • 代码示例

预期结果:

  • 编译通过

实际结果:

  • 编译不过

bug描述:

编译命令行 报错 Error: You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a BlockStatement node without passing scope and parentPath.


更多关于uni-app cli 编译小程序出现问题的实战教程也可以访问 https://www.itying.com/category-93-b0.html

1 回复

更多关于uni-app cli 编译小程序出现问题的实战教程也可以访问 https://www.itying.com/category-93-b0.html


能否提供更完整的代码?如果把e换成其他变量呢?

回到顶部