fix(Image): alt prop not work
This commit is contained in:
+1
-3
@@ -142,10 +142,8 @@ export default createComponent({
|
||||
|
||||
genImage() {
|
||||
const imgData = {
|
||||
alt: this.alt,
|
||||
class: bem('img'),
|
||||
attrs: {
|
||||
alt: this.alt,
|
||||
},
|
||||
style: {
|
||||
objectFit: this.fit,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user