Hỏi & Đáp
프록시 잘 설정했는데도 404 오류 뜨는 분들
포기할뻔..
- Lượt thích
- 5
- Số bình luận
- 6
- Lượt xem
- 911
Hỏi & Đáp
포기할뻔..
Hỏi & Đáp
저도 map이 undefined라고 나와서 한참 찾았는데, 다른 곳 오타였어요;; notifications:[], //빈 배열 여기에 s 빼놓음;; import React from "react"; import Notification from "./Notification"; const reservedNotifications = [ { message:"안녕, 오늘 일정은", }, { message:"곧 점심식사 시간이야", }, { message:"미팅이 시작된다", }, ] var timer; class NotificationList extends React.Component { constructor(props){ super(props); this.state = { notifications:[], //빈 배열 } } componentDidMount(){ const {notifications} = this.state; timer = setInterval(() => { if(notifications.length {this.state.notifications.map((notification) => { return })} ) } } export default NotificationList;
Hỏi & Đáp
self 부분이 빠진거 같아요FlyableAttackUnit.__init__(self, "레이스", 80, 20, 5) FlyableAttackUnit.__init__(self, "레이스", 80, 20, 5)