This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0

修复store删除参数的bug;优化drag插件

old
宇天 2018-12-29 01:19:12 +08:00
parent aa789d2800
commit 49289f8939
2 changed files with 2 additions and 2 deletions

View File

@ -234,7 +234,7 @@ Anot.directive('drag', {
target.style.transitionDuration = cssTransition target.style.transitionDuration = cssTransition
//结束回调 //结束回调
if (_this.dragged) { 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])
} }
}) })
}) })

View File

@ -262,7 +262,7 @@ class AnotStore {
} }
// 删除集合中单条数据 // 删除集合中单条数据
remove(id) { remove(_id) {
let collection = __STORE__[this.__name__] let collection = __STORE__[this.__name__]
let collectionDict = __STORE__[`${this.__name__}Dict`] let collectionDict = __STORE__[`${this.__name__}Dict`]