Open rajaooxx opened 5 years ago
觀察 todo content click 行為,拖曳 todo 並改變排序後再 click 一次,觀察目前行為有甚麼問題。
觀察到問題後,試著解決問題,不限方式。
<draggable>...</draggable>
<draggable v-model="todos">...</draggable>
我是肖龍豪,这是我的day2的作业:https://github.com/ronnieXiaoLH/Vue_study.git
FYI https://github.com/Synggy/Vue_study.git By evan.fj.li
我的代码里面有一个Bug,在新增Task并拖曳 todo后,再删除Task,todo的顺序会改变
https://github.com/haoce/Vue_study.git by 楊浩策
抱歉,我現在才看到各位的作業,後續會找時間 review,實在不好意思。
延續 HW1 Todo list,引入了 draggable 套件,增加 todo content 的 click 事件
觀察 todo content click 行為,拖曳 todo 並改變排序後再 click 一次,觀察目前行為有甚麼問題。
觀察到問題後,試著解決問題,不限方式。
將 todo list 根據 isSealed 做顯示上的 filter,請在 computed 實作 filter function 並取代 v-for 的 todos。(進行此步驟時請先用
<draggable>...</draggable>
取代<draggable v-model="todos">...</draggable>
,移除 draggable 的 v-model)完成作業後請在此留下作業連結,我會一起 code review ~
Have a nice day!
Hardy