jquery layout not working while loading through ui-view

前端 未结 4 1179
-上瘾入骨i
-上瘾入骨i 2021-01-27 15:08

I have created a layout using JQuery layout. It is working fine if I use it in normal index file. But when I try to load through ui-view directory, it\'s not loading. Please hel

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-27 16:03

    Include your script inside your home.html partial template, that should work, had a similar issue, my guess is that that particular dom element does not exist when your function is initially executed.

    home.html

    
    
    
    WEST
    CENTER

提交回复
热议问题