增加点餐智能推荐
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
<up-checkbox-group v-model="selectedWeek" :options="week">
|
||||
<up-checkbox
|
||||
:customStyle="customStyle"
|
||||
:shape="shape"
|
||||
v-for="item in week"
|
||||
:key="item.value"
|
||||
:value="item.value"
|
||||
@@ -19,7 +20,12 @@ const customStyle={
|
||||
marginRight: '40rpx',
|
||||
marginBottom: '16rpx',
|
||||
}
|
||||
|
||||
const props = defineProps({
|
||||
shape: {
|
||||
type: String,
|
||||
default: 'square' // circle
|
||||
},
|
||||
});
|
||||
const selectedWeek=defineModel({
|
||||
type: Array,
|
||||
default: () => [],
|
||||
|
||||
Reference in New Issue
Block a user