context.Response.ContentType = "text/plain; charset=utf-8";-------此方法只能输出文本
Response.WriteAsync("<script>alert('添加品牌成功!');location.href='/ProductInfos/ShowProduct';</script>", Encoding.GetEncoding("GB2312"));
context.Response.ContentType = "text/plain; charset=utf-8";-------此方法只能输出文本
Response.WriteAsync("<script>alert('添加品牌成功!');location.href='/ProductInfos/ShowProduct';</script>", Encoding.GetEncoding("GB2312"));