refactor: fix small bugs, update unit tests

This commit is contained in:
woothu
2019-11-14 14:42:13 +01:00
parent 760dc7ba79
commit b696666806
45 changed files with 45759 additions and 1710 deletions
+1 -1
View File
@@ -23,8 +23,8 @@
</CCol>
<CCol sm="6" md="4">
<CCard>
<CCardFooter>Card Footer</CCardFooter>
<CCardBody>{{loremIpsum}}</CCardBody>
<CCardFooter>Card Footer</CCardFooter>
</CCard>
</CCol>
<CCol sm="6" md="4">
+1 -1
View File
@@ -772,7 +772,7 @@
placeholder="Password"
type="password"
autocomplete="current-password"
/>
>
<template #prepend-content><CIcon name="shield-alt"/></template>
</CInput>
<div class="form-group form-actions">
+4 -4
View File
@@ -330,7 +330,7 @@
<template #example="{item}">
<td>
<CSwitch
:shape="item.example.shape"
:variant="item.example.variant"
:color="item.example.color"
:size="item.example.size"
:checked="item.example.checked"
@@ -366,17 +366,17 @@ export default {
items: [
{
size: 'Large',
example: { shape: '3d', color: 'primary', size: 'lg', checked: true },
example: { variant: '3d', color: 'primary', size: 'lg', checked: true },
size_prop: 'Add following prop <code>size="lg"</code>'
},
{
size: 'Normal',
example: { shape: '3d', color: 'primary', size: '', checked: true },
example: { variant: '3d', color: 'primary', size: '', checked: true },
size_prop: '-'
},
{
size: 'Small',
example: {shape: '3d', color: 'primary', size: 'sm', checked: true},
example: { variant: '3d', color: 'primary', size: 'sm', checked: true},
size_prop: 'Add following prop <code>size="sm"</code>'
}
],
-1
View File
@@ -15,7 +15,6 @@
:items-per-page="small ? 10 : 5"
:dark="dark"
pagination
items-per-page-select
>
<template #status="{item}">
<td>