提交 34856a1b 编写于 作者: Q qiang

lint fix

上级 0039c1e8
...@@ -43,9 +43,11 @@ class InnerAudioContext { ...@@ -43,9 +43,11 @@ class InnerAudioContext {
Object.defineProperty(this, property, { Object.defineProperty(this, property, {
set: property === 'src' ? (src) => { set: property === 'src' ? (src) => {
audio.src = getRealPath(src) audio.src = getRealPath(src)
return this._src = src this._src = src
return src
} : (val) => { } : (val) => {
return audio[property] = val audio[property] = val
return val
}, },
get: property === 'src' ? () => { get: property === 'src' ? () => {
return this._src return this._src
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册