修复store删除参数的bug;优化drag插件
parent
aa789d2800
commit
49289f8939
|
@ -234,7 +234,7 @@ Anot.directive('drag', {
|
|||
target.style.transitionDuration = cssTransition
|
||||
//结束回调
|
||||
if (_this.dragged) {
|
||||
_this.dragged.call(_this.vmodels[0], target, fox, foy)
|
||||
_this.dragged.call(_this.vmodels[0], target, fox, foy, cst[4], cst[5])
|
||||
}
|
||||
})
|
||||
})
|
||||
|
|
|
@ -262,7 +262,7 @@ class AnotStore {
|
|||
}
|
||||
|
||||
// 删除集合中单条数据
|
||||
remove(id) {
|
||||
remove(_id) {
|
||||
let collection = __STORE__[this.__name__]
|
||||
let collectionDict = __STORE__[`${this.__name__}Dict`]
|
||||
|
||||
|
|
Reference in New Issue