mirror of
https://gitee.com/ssssssss-team/magic-boot.git
synced 2026-07-09 00:00:04 +08:00
代码生成相关代码
This commit is contained in:
@@ -43,12 +43,17 @@ const props = defineProps({
|
||||
operation: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
page: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
})
|
||||
|
||||
const tableOptions = reactive({
|
||||
data: props.modelValue,
|
||||
cols: [],
|
||||
page: props.page,
|
||||
showNo: props.showNo
|
||||
})
|
||||
|
||||
|
||||
@@ -5,7 +5,10 @@
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
/>
|
||||
>
|
||||
<span style="float: left">{{ item.label }}</span>
|
||||
<span v-if="showValue" style="float: right;color: var(--el-text-color-secondary);font-size: 13px;">{{ item.value }}</span>
|
||||
</el-option>
|
||||
</el-select>
|
||||
</template>
|
||||
|
||||
@@ -69,6 +72,10 @@ const props = defineProps({
|
||||
join: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
showValue: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user