请求处理代理
商品管理 商品分类 用户管理 桌台 代客下单 进销存 交班 预定座位 充值管理 存酒管理
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<view class="uni-forms-item" :class="['is-direction-' + localLabelPos, border ? 'uni-forms-item--border' : '', border && isFirstBorder ? 'is-first-border' : '']">
|
||||
<slot name="label">
|
||||
<view class="uni-forms-item__label" :class="{ 'no-label': !label && !isRequired }" :style="{ width: localLabelWidth, justifyContent: localLabelAlign }">
|
||||
<!-- <text v-if="isRequired" class="is-required">*</text> -->
|
||||
<text v-if="isRequired&&showRequired" class="is-required">*</text>
|
||||
<text>{{ label }}</text>
|
||||
</view>
|
||||
</slot>
|
||||
@@ -81,6 +81,10 @@ export default {
|
||||
type: [String, Array],
|
||||
default: "",
|
||||
},
|
||||
showRequired:{
|
||||
type: Boolean,
|
||||
default:false
|
||||
},
|
||||
required: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
|
||||
Reference in New Issue
Block a user