Skip to content

Commit ba6e2f6

Browse files
committed
edit [basic-info] [basic-icon]
1 parent d37157d commit ba6e2f6

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

src/components/base/Step/Basic/b-step-icon.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<basic-icon
33
v-if="size === 'sm'"
44
icon="circle-fill"
5-
:icon-color="color"
5+
:color="color"
66
class="align-self-center m-2"
77
style="font-size: .8em;"
88
/>
99
<basic-icon
1010
v-else
1111
:icon="icon"
12-
:icon-color="color"
12+
:color="color"
1313
class="align-self-center m-2"
1414
:style="`font-size: ${iconSize}px;`"
1515
/>

src/components/basic/basic-icon.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<i
33
v-if="icon"
44
class="d-flex align-items-center"
5-
:class="iconColor ? 'text-' + iconColor : ''"
5+
:class="color ? 'text-' + color : ''"
66
>
77
<svg
88
class="svg-icon"
@@ -25,7 +25,7 @@ export default {
2525
...util.props.string,
2626
required: true
2727
},
28-
iconColor: util.props.textColor,
28+
color: util.props.textColor,
2929
},
3030
computed: {
3131
iconName() {

src/components/basic/basic-info.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default {
1313
name: "BasicInfo",
1414
props: {
1515
info: util.props.String,
16-
infoColor: util.props.textColor,
16+
color: util.props.textColor,
1717
}
1818
};
1919
</script>

src/components/basic/basic-label.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<b-icon
55
class="me-2"
66
:icon="icon"
7-
:icon-color="iconColor"
7+
:color="iconColor"
88
/>
99
<strong
1010
v-if="strong"
@@ -21,7 +21,7 @@
2121
</font>
2222
<b-info
2323
:info="info"
24-
:info-color="infoColor"
24+
:color="infoColor"
2525
/>
2626
</div>
2727
</template>

src/components/content/GridView/b-grid-view.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
:checked="isSelected(row)"
106106
@input="input($event, row)"
107107
/>
108-
<base-icon
108+
<basic-icon
109109
v-else-if="selectStatus === enumSelect.check"
110110
icon="check-circle-fill"
111111
class="text-primary"
@@ -181,7 +181,6 @@ import GridHelper from './Basic/grid-helper'
181181
import GridPagination from './Basic/grid-pagination'
182182
import GridProperties from "./tools/Properties/grid-properties"
183183
184-
import BaseIcon from "@/components/basic/basic-icon.vue"
185184
import BCheck from "@/components/form/Check/b-check.vue";
186185
export default {
187186
name: "BGridView",
@@ -199,7 +198,6 @@ export default {
199198
GridHelper,
200199
GridProperties,
201200
GridPagination,
202-
BaseIcon,
203201
BCheck,
204202
},
205203
mixins: [ util.mixins.grid.select, ],

0 commit comments

Comments
 (0)