mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-04-28 02:24:48 +00:00
improve docs
This commit is contained in:
parent
d8abb2665c
commit
d00992e3fc
2 changed files with 4 additions and 4 deletions
|
|
@ -191,7 +191,7 @@
|
|||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
p {
|
||||
.phone-viewport p {
|
||||
padding: 8px 16px;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -231,7 +231,7 @@
|
|||
v-model="nutrition[rowIndex].comment"
|
||||
v-if="columnIndex === 'comment'"></md-table-edit>
|
||||
|
||||
<span v-if="columnIndex !== 'comment'">{{ column }}</span>
|
||||
<span v-if="columnIndex !== 'comment'">{{ column }</span>
|
||||
</md-table-cell>
|
||||
</md-table-row>
|
||||
</md-table-body>
|
||||
|
|
@ -361,7 +361,7 @@ export default {
|
|||
<md-table-body>
|
||||
<md-table-row v-for="(row, rowIndex) in nutrition" :key="rowIndex" :md-item="row" md-selection>
|
||||
<md-table-cell v-for="(column, columnIndex) in row" :key="columnIndex" :md-numeric="columnIndex !== 'dessert' && columnIndex !== 'comment' && columnIndex !== 'type'">
|
||||
<span v-if="columnIndex === 'comment'">{{ column }}</span>
|
||||
<span v-if="columnIndex === 'comment'">{{ column }</span>
|
||||
|
||||
<md-button class="md-icon-button" v-if="columnIndex === 'comment'">
|
||||
<md-icon>edit</md-icon>
|
||||
|
|
@ -378,7 +378,7 @@ export default {
|
|||
<md-option value="other">Other</md-option>
|
||||
</md-select>
|
||||
|
||||
<span v-if="columnIndex !== 'type' && columnIndex !== 'comment'">{{ column }}</span>
|
||||
<span v-if="columnIndex !== 'type' && columnIndex !== 'comment'">{{ column }</span>
|
||||
</md-table-cell>
|
||||
</md-table-row>
|
||||
</md-table-body>
|
||||
|
|
|
|||
Loading…
Reference in a new issue