This commit is contained in:
Jere
2019-03-17 17:40:51 +08:00
committed by Pan
parent 4b5b0a6e6b
commit a80999e0a2
3 changed files with 9 additions and 7 deletions

View File

@@ -6,11 +6,11 @@ function handleClick(el, binding) {
function handle(e) {
const customOpts = Object.assign({}, binding.value)
const opts = Object.assign({
ele: el, // 波纹作用元素
type: 'hit', // hit 点击位置扩散 center中心点扩展
color: 'rgba(0, 0, 0, 0.15)' // 波纹颜色
},
customOpts
ele: el, // 波纹作用元素
type: 'hit', // hit 点击位置扩散 center中心点扩展
color: 'rgba(0, 0, 0, 0.15)' // 波纹颜色
},
customOpts
)
const target = opts.ele
if (target) {