add cookie to store project & fix error tip overflow bug

add cookie to store project & fix error tip overflow bug