提交 f71ff081 编写于 作者: Q qiang

fix: lint

上级 efb0b5ae
<template>
<uni-video
v-bind="attrs"
<uni-video
v-bind="attrs"
v-on="$listeners">
<div
ref="container"
<div
ref="container"
class="uni-video-container" />
<div class="uni-video-slot">
<slot />
......@@ -163,9 +163,7 @@ export default {
attrs.forEach(key => {
let val = this.$props[key]
val = key === 'src' ? this.$getRealPath(val) : val
obj[key.replace(/[A-Z]/g, (str) => {
return '-' + str.toLowerCase()
})] = val
obj[key.replace(/[A-Z]/g, str => '-' + str.toLowerCase())] = val
})
return obj
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册