使用应用程序时我必须出错。
第一:
中的第二个错误JS:Angular正在开发模式下运行。呼叫enableProdMode() 启用生产模式。
ActivityManager:PID:24243
ActivityManager:106%24243 / org.nativescript.project: 95%用户+ 11%内核/故障:27378次1次重大
ActivityManager:11%24243 / org.nativescript.project: 9.2%用户+ 1.8%内核/故障:364个次要1个重要
当我使用菜单时显示给我。菜单非常慢,当我经常使用时会显示此错误:(
我尝试了这个菜单:
<GridLayout rows="*,60">
<StackLayout row="1" orientation="horizontal" backgroundColor="#eae8e8" class="foot">
<StackLayout [nsRouterLink]="['/home/events']" width="25%" textAlignment="left">
<img src="~/assets/images/info.png" width="20" height="20" stretch="aspectFit" />
<Label>
<FormattedString color="#EE6E73">
<Span text="Events"></Span>
</FormattedString>
</Label>
</StackLayout>
<StackLayout [nsRouterLink]="['/home/fp']" width="25%" textAlignment="left">
<img src="~/assets/images/home.png" width="20" height="20" stretch="aspectFit" />
<Label>
<FormattedString>
<Span text="Home"></Span>
</FormattedString>
</Label>
</StackLayout>
<StackLayout [nsRouterLink]="['/home/image']" width="25%" textAlignment="left">
<img src="~/assets/images/paketa.png" width="30" height="20" stretch="aspectFit" />
<Label>
<FormattedString>
<Span text="Images"></Span>
</FormattedString>
</Label>
</StackLayout>
<StackLayout [nsRouterLink]="['/home/settings']" width="25%" textAlignment="left">
<img src="~/assets/images/settings.png" width="20" height="20" stretch="aspectFit" />
<Label>
<FormattedString>
<Span text="Settings"></Span>
</FormattedString>
</Label>
</StackLayout>
</StackLayout>
</GridLayout>