@@ -4,7 +4,7 @@
:placement="'right'"
:visible="visible"
@cancel="cancel"
- class="top600">
+ :class="[position === 'top' ? 'top600' : 'delistingBottom']">
<a-spin :spinning="loading">
<div class="listed">
<a-form class="inlineForm dialogForm"
@@ -268,6 +268,10 @@ export default defineComponent({
type: Object as PropType<QueryPermancePlanTmpRsp>,
default: {},
},
+ position: {
+ type: String,
+ default: 'top',
+ },
components: { Des, Drawer, PlusOutlined, MinusOutlined, SearchOutlined, PlusCircleOutlined },
setup(props, context) {
@@ -37,6 +37,7 @@
</a-spin>
</Drawer>
<Add v-if="show"
+ :position="position"
@cancel="closeAddTemp" />
</template>