```html
{{ item.title }}
methods: {
titleStyle() {
return "#" + Math.random().toString(16).slice(2, 8);
},
}
```)
请问这样写,不对吗?样式没生效!
```html
methods: {
titleStyle() {
return "#" + Math.random().toString(16).slice(2, 8);
},
}
```)
请问这样写,不对吗?样式没生效!