Commit e08c514f9e18d6159d174d322f6fcf496d9db110
1 parent
9e8e89fc
fix(plugin): show icon for text-align component
Showing
1 changed file
with
2 additions
and
1 deletions
front-end/h5/src/views/Editor.vue
| ... | ... | @@ -177,7 +177,8 @@ const LbpButton = { |
| 177 | 177 | <el-radio-group v-model="value_" size="small"> |
| 178 | 178 | <el-tooltip effect="dark" :content="item.label" placement="top" :key="index" v-for="(item, index) in textAlignTabs"> |
| 179 | 179 | <el-radio-button :label="item.value"> |
| 180 | - <i :class="['fa', 'fa-align-\${item.value}']" aria-hidden="true"></i> | |
| 180 | + <!-- issue #8 --> | |
| 181 | + <i :class="['fa', 'fa-align-'+item.value]" aria-hidden="true"></i> | |
| 181 | 182 | </el-radio-button> |
| 182 | 183 | </el-tooltip> |
| 183 | 184 | </el-radio-group> | ... | ... |