zhang_li 1 year ago
parent
commit
851defeaf2
  1. 9
      src/components/XButton/src/ButtonBase.vue

9
src/components/XButton/src/ButtonBase.vue

@ -1,5 +1,5 @@
<template> <template>
<div v-for="(item, index) in Butttondata" :key="index"> <div v-for="(item, index) in Butttondata" :key="index" class="btn-div">
<el-button <el-button
v-show="!item.hide" v-show="!item.hide"
:type="item.type" :type="item.type"
@ -81,4 +81,9 @@ defineExpose({
const updataTableColumns = (val) => { const updataTableColumns = (val) => {
emit('updataTableColumns', val) emit('updataTableColumns', val)
} }
</script> </script>
<style scoped lang="scss">
.btn-div{
display: inline;
}
</style>
Loading…
Cancel
Save