Commit 7059c899 authored by Damon's avatar Damon

docs: 答案解释组件文档更新

parent 2f7f9c8e
## 错题解释
## 答案解释
## API
......@@ -14,16 +14,14 @@
### 基础用法
```html
<wrong-explanation answer="A" explain="无"></wrong-explanation>
<answer-explanation answer="A" explain="无"></answer-explanation>
```
```javascript
import wrongExplanation from '@/components/wrong-explanation/index.vue'
import answerExplanation from '@/components/answer-explanation/index.vue'
export default {
components: {
answerSheet,
},
data() {},
methods: {},
answerExplanation,
}
}
```
......@@ -4,18 +4,11 @@
<view>
<text class="title">{{title}}</text>
</view>
<view style="margin-top: 200rpx; width: 100%;">
<answer-explanation answer="A" explain="无"></answer-explanation>
</view>
</view>
</template>
<script>
import answerExplanation from '@/components/answer-explanation/index.vue'
export default {
components: {
answerExplanation
},
data() {
return {
title: 'Hello'
......
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