Skip to content

Commit 3a65860

Browse files
committed
fix: lint issue
1 parent 80d7288 commit 3a65860

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/guide/essentials/class-and-style.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,15 +315,15 @@ data() {
315315

316316
同样的,如果样式对象需要更复杂的逻辑,也可以使用返回样式对象的计算属性。
317317

318-
`:style` 指令也可以和常规的 style attribute 共存,就像 `:class`.
318+
`:style` 指令也可以和常规的 style attribute 共存,就像 `:class`
319319

320-
模板:
320+
模板
321321

322322
```vue-html
323323
<h1 style="color: red" :style="'font-size: 1em'">hello</h1>
324324
```
325325

326-
这将被渲染为:
326+
这将被渲染为
327327

328328
```vue-html
329329
<h1 style="color: red; font-size: 1em;">hello</h1>

0 commit comments

Comments
 (0)