uni-app app会崩溃

uni-app app会崩溃

开发环境 版本号 项目创建方式
Windows win10 HBuilderX
产品分类:uni-app x/App

<h2>示例代码:</h2>
```html
<template>
<!-- #ifdef APP -->
<scroll-view style="flex:1">
<view v-for="item in 8000" :key="item">
<view class="">
哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈
<view class="">
cccc
</view>
</view>
</view>
</scroll-view>
<!-- #endif -->  

<!-- #ifdef APP -->  

</scroll-view>  
<!-- #endif -->  
<script>
export default {
data() {
return {  
};
}
}
</script>
<style lang="less">
</style>

操作步骤:

```html <template> <scroll-view style="flex:1"> <view v-for="item in 8000" :key="item"> <view class=""> 哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈 <view class=""> cccc </view> </view> </view> </scroll-view> </scroll-view> ```
<script>
export default {
data() {
return {  
};
}
}
</script>
<style lang="less">
</style>

预期结果:

正常使用

实际结果:

app崩溃

bug描述:

如下面示例代码 app经常崩溃

更多关于uni-app app会崩溃的实战教程也可以访问 https://www.itying.com/category-93-b0.html

1 回复

更多关于uni-app app会崩溃的实战教程也可以访问 https://www.itying.com/category-93-b0.html


没有示例代码

回到顶部