handleMove(srcData,targetList){ switch (srcData.tag) { case 'task-item': console.log('handling item'); break; case 'task-list': console.log('handling list'); const srcList = srcData.data; const tempOrder = srcList.order; srcList.order = targetList.order; targetList.order = tempOrder; default: break; } }
以上就是详解Angular结构型指令模块和样式的详细内容,更多关于Angular结构型指令模块和样式的资料请关注脚本之家其它相关文章!
您可能感兴趣的文章: