Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/meteor/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Meteor Can';我不能让鲁巴萨去工作_Meteor_Rubaxa Sortable - Fatal编程技术网

Meteor Can';我不能让鲁巴萨去工作

Meteor Can';我不能让鲁巴萨去工作,meteor,rubaxa-sortable,Meteor,Rubaxa Sortable,任务来自api调用。列表正在显示,但没有发生拖动。当我使用javascript控制台悬停时,所有任务都显示为一个block div#object.sortable.target <div class="col-md-4"> <div class="list-pair col-sm-12"> {{#each tasks}} <div class="sortable target" id="object">

任务来自api调用。列表正在显示,但没有发生拖动。当我使用javascript控制台悬停时,所有任务都显示为一个block div#object.sortable.target

 <div class="col-md-4">
        <div class="list-pair col-sm-12">


          {{#each tasks}}

       <div class="sortable target" id="object"> 
       {{#sortable items=tasks animation="100" ghostClass="sortable-ghost" }}


            <!--<div class="list-group-item"> -->


                {{title}}


        {{/sortable}}
</div>
           <!-- </div> -->
            {{else}}
            <p>List is empty.</p>


{{/each}}


</div></div>

我认为当你使用{{{sortable}时,你不应该使用{{{each}}

Sortable.collections = ['tasks'];