Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

明白了 Echarts.js和adminLTE.js都会使用$来作为一个调用的接口, 产生了冲突, 在JS层面产生了冲突, 所以不能同时使用 #428

Open
englianhu opened this issue Apr 2, 2022 · 2 comments

Comments

@englianhu
Copy link

englianhu commented Apr 2, 2022

明白了 Echarts.js和adminLTE.js都会使用$来作为一个调用的接口, 产生了冲突, 在JS层面产生了冲突, 所以不能同时使用
除了把它用htmlwidgets重写掉之外, 我想不出有什么解决的方法...

Originally posted by @Lchiffon in Lchiffon/REmap#29 (comment)

(1) prompt message~

prefer_conflicts('xxx$xxx', 'Echarts.js')
prefer_conflicts('xxx$xxx', 'adminLTE.js')

or (2) add the ifelse function in htmlwidgets package~

if(xxx == 'echarts.js') { 
   xxxxx
} else if(xxx == 'adminLTE.js') {
   xxxxx
}
shinyWidgets.error.mp4

somebody take a look?

scibrokes/owner#2 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant