1、 在vue中添加空格

<template>
<Row>
        <Col span="6">
        <FormItem :label="label_test" :label-width="110">
            {{lentity.people}}
        </FormItem>
        </Col>
</Row>
</template>        
<script>
export default {
  data: function () {
    return {
      label_test: '测' + '\xa0\xa0' + '试' + '\xa0\xa0' + '人:',
    }
</script>

2、view2中写form表单时,在label里添加空格:

<template>
<Row>
        <Col span="6">
        <FormItem label="编  号:" :label-width="110">
            <label slot="label">;编&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号:</label>
            {{entity.serialNumber}}
        </FormItem>
        </Col>
</Row>        
</template
Logo

前往低代码交流专区

更多推荐