我正在使用Angular 2並將HTTP請求中的錯誤傳入logAndPassOn方法。我收到錯誤「屬性'狀態'不存在類型'錯誤'。」類型的錯誤是對象,但它看起來像一個類型的錯誤將被識別爲類型的文件是。 private logAndPassOn (error: Error) {
if (error.status == 403) {
Do things
}
r
我試圖做類似https://stackoverflow.com/a/29649406/15485,但我得到的錯誤 Error: Aesthetics must be either length 1 or the same as the data (2): xmin, xmax, ymin, ymax, x, y 什麼「(2)」手段? 涉及什麼「美學」?我在ggplotaes和aes在geom_re