Commit d7a3d37a authored by 高天阳's avatar 高天阳

面板文档

parent 29911437
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
```jsx ```jsx
<hm-panel :options="{ <hm-panel :options="{
'title': '面版名称',
'panel_class': 'center', 'panel_class': 'center',
'title_class': 'weight', 'title_class': 'weight',
'content_class': 'center', 'content_class': 'center',
...@@ -27,7 +26,7 @@ ...@@ -27,7 +26,7 @@
<template> <template>
<div> <div>
<hm-panel :options="options"> <hm-panel :options="options">
<div slot="title">面板标题</div> <div slot="title">测试面板</div>
<div slot="content">面板内容</div> <div slot="content">面板内容</div>
</hm-panel> </hm-panel>
</div> </div>
...@@ -42,7 +41,6 @@ ...@@ -42,7 +41,6 @@
}, },
created() { created() {
this.options = { this.options = {
title: '测试面板',
panel_class: 'center', panel_class: 'center',
title_class: 'center', title_class: 'center',
content_class: 'center', content_class: 'center',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment