wrapbootstrap主题与AngularJS问题主题、问题、wrapbootstrap、AngularJS

2023-09-14 23:08:35 作者:痴心不改将以情葬海

我使用的是Wrapbootstrap主题ACE模板 https://wrapbootstrap.com/主题/ ACE响应管理员模板 - WB0B30DGR与AngularJS 的,但它没有很好地工作;侧边栏和设置不能正常工作;如果我删除AngularJS,它工作正常;我认为这个问题是相关的JavaScript文件的加载和负载角之前执行和呈现谐音主题;我想知道如何加载主题脚本(两个脚本王牌elements.js,ace.js)和角说完之后执行它们自己的工作;

I am using a Wrapbootstrap Theme ACE Template https://wrapbootstrap.com/theme/ace-responsive-admin-template-WB0B30DGR with AngularJS but it doesn't work fine; The sidebar and settings not works correctly; If i removed AngularJS, it Works fine; I think the Problem is related to the theme JavaScript files are loaded and executed before Angular load and render the partials; I want to know how to load Theme Scripts(two scripts ace-elements.js, ace.js) and execute them after the Angular finish his work;

推荐答案

只是固定我的问题,根据你说的一个线索。我搬到了两(ACE-元素和ACE)javescript文件到年底,角度做了所有经过它的东西,突然菜单切换按钮,这是工作在电脑上而不是在移动设备上工作!

Just fixed my issue, based on a clue you said. I moved the two (ace-elements and ace) javescript files to the end, after angular did all it's thing and suddenly the menu toggle button which was working on a PC but not on a mobile device worked!