UNPKG
asia-weex-vue-render4light
Version:
latest (1.0.0)
1.0.0
Web renderer for weex project written in Vue DSL.
asia-weex-vue-render4light
/
test
/
helper
/
mixin
/
done.js
12 lines
(10 loc)
•
226 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import helper from
'../main'
export
const doneMixin = { methods: {
done
(subId =
'default'
, ...args) { const
id
= this.
$root
.
$el
.
id
const
done
= helper.data[
id
].
done
[subId] ;
done
(...args) } } }