Vue 组件范围样式未显示为 b-form-radio-group 按钮变体

问题描述

App.vue 中有一个子组件,即 GetQuote.vue,其中包含一些 bootstrap-vue 组件的样式,如下所示:

<template>
  <b-container class="bv-example-row" ref="quoteContainer">
    <b-form>
      <b-form-row>
        <b-col>
          <b-form-group label="Tobacco" v-slot="{ ariaDescribedby }">
              <b-form-radio-group
                class='pt-3'
                id="btn-radios-1"
                v-model="tobacco"
                :options="tobacco_options"
                :aria-describedby="ariaDescribedby"
                button-variant="outline-primary"
                size="lg"
                name="radio-btn-outline-tobacco"
                buttons
                ></b-form-radio-group>
      </b-form-group>
    </b-col>
  </b-form-row>
 </b-form>
 ...
...

scoped 属性添加到此处的 bootstrap-vue 组件中。

预期的按钮样式:

enter image description here

但它显示单选按钮为:

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)