![](/img/trans.png)
[英]angularjs ui-sortable: cannot call methods on sortable prior to initialization; attempted to call method 'refresh'
[英]Uncaught Error: cannot call methods on sortable prior to initialization; attempted to call method 'option'
嘗試使用ui-sortable時出現此錯誤。
jquery-3.1.0.min.js:2未捕獲的錯誤:無法在初始化之前調用可排序的方法; 試圖調用方法“選項”
提前致謝。
錯誤的含義是 : $this.draggable('enable');
在$this.draggable();.
之前調用$this.draggable();.
檢查程序的執行流程:在嘗試執行任何操作之前,請確保已確實初始化了插件(例如:名為$this.draggable();
)。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.