chxj1992 / kline

一个 javascript K线插件. A K line library written in javascript.
Do What The F*ck You Want To Public License
793 stars 337 forks source link

On navigation kline graph not loading properly on angular present on home page #84

Open jitendraas opened 6 years ago

jitendraas commented 6 years ago

In landing /home page we implemented kline graph in angular 6, on page load its display perfectly. On navigating page to other page after redirecting to home page kline gets crashed and shows in console FirebaseError {code: "app/duplicate-app", message: "Firebase: Firebase App named '[DEFAULT]' already exists (app/duplicate-app).", name: "[DEFAULT]", ngDebugContext: DebugContext_, ngErrorLogger: ƒ, …}. I tried angular lifecycle methods to prevent this issue but it unable to succeed. Provide me the solution for it. screenshot-localhost-4200-2018 09 23-19-01-54

chxj1992 commented 6 years ago

try "disableFirebase" option