我的剃须刀页面出现以下错误。
所以我改变了。
现在代码将运行,但是我得到警告。
1> obj \ Debug \ netcoreapp3.0 \ Razor \ Pages \ Areas.cshtml.g.cs(256,200,256,202):警告CS1998:此异步方法缺少'await'运算符,将同步运行。考虑使用'await'操作符来等待非阻塞API调用,或使用'await Task.Run(...)'在后台线程上进行CPU绑定的工作。
1> obj \ Debug \ netcoreapp3.0 \ Razor \ Pages \ Areas.cshtml.g.cs(282,282,202):警告CS1998:此异步方法缺少'await'运算符,将同步运行。考虑使用“ await”运算符来等待非阻塞API调用,或者使用“ await Task.Run(...)”来在后台线程上执行CPU绑定的工作。
有人可以告诉我Razor Pages到底需要什么吗?
更新:
这是我完整的gtag('event','purchase',{
"transaction_id": "24.031608523954162","affiliation": "Google online store","value": 23.07,"currency": "USD","tax": 1.24,"shipping": 0,"items": [
{
"id": "P12345","name": "Android Warhol T-Shirt","list_name": "Search Results","brand": "Google","category": "Product Group A","variant": "Black","list_position": 1,"quantity": 2,"price": '2.0'
},{
"id": "P67890","name": "flame challenge TShirt","brand": "MyBrand","category": "Product Group B","variant": "Red","list_position": 2,"quantity": 1,"price": '3.0'
}
]
});
部分。
#define UTOS32(a) ((union { uint32_t u; int32_t i; }){ .u = (a) }.i)
int32_t difference = UTOS32(timestamp1 - timestamp2);