智能照明系统APP-本地串口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LightingSystemApp-serial/.svn/pristine/4c/4c62540e8ad197191f1eb9fa7e2...

16 lines
363 B

3 years ago
import getRealPath from 'uni-platform/helpers/get-real-path'
import {
processEvent
} from 'uni-view/plugins/events'
export default {
methods: {
$getRealPath (src) {
return src ? getRealPath(src) : src
},
$trigger (name, $event, detail) {
this.$emit(name, processEvent.call(this, name, $event, detail, this.$el, this.$el))
}
}
}