🐛 fix: bug fixed
This commit is contained in:
parent
8a43684027
commit
574d2da025
|
@ -23,11 +23,11 @@ const severity = computed(() => {
|
||||||
|
|
||||||
const icon = computed(() => {
|
const icon = computed(() => {
|
||||||
switch (props.type) {
|
switch (props.type) {
|
||||||
case 'error': return 'ri-close-circle-line';
|
case 'error': return 'ri-spam-fill';
|
||||||
case 'warning' : return 'ri-alert-line';
|
case 'warning' : return 'ri-alert-fill';
|
||||||
case 'success' : return 'ri-checkbox-circle-line';
|
case 'success' : return 'ri-checkbox-circle-fill';
|
||||||
case 'info': return 'ri-information-line';
|
case 'info': return 'ri-information-fill';
|
||||||
case 'new': return 'ri-flashlight-line';
|
case 'new': return 'ri-flashlight-fill';
|
||||||
default:
|
default:
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
@ -45,7 +45,7 @@ const limit = computed(() => props.maxWidth);
|
||||||
class="p-tag"
|
class="p-tag"
|
||||||
:class="{'small': props.small}"
|
:class="{'small': props.small}"
|
||||||
>
|
>
|
||||||
<i v-if="!props.noIcon || props.type === undefined" :class="icon"></i>
|
<i v-if="!props.noIcon || props.type === undefined" :class="icon" style="font-weight: 100;"></i>
|
||||||
<span :class="{'limit': props.maxWidth}">{{ props.label }}</span>
|
<span :class="{'limit': props.maxWidth}">{{ props.label }}</span>
|
||||||
</Tag>
|
</Tag>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user