diff --git a/neutrino-proxy-admin/src/components/Dropdown/DropdownTable.vue b/neutrino-proxy-admin/src/components/Dropdown/DropdownTable.vue index f3a0e282..df0de6a2 100644 --- a/neutrino-proxy-admin/src/components/Dropdown/DropdownTable.vue +++ b/neutrino-proxy-admin/src/components/Dropdown/DropdownTable.vue @@ -1,6 +1,6 @@ @@ -22,6 +22,10 @@ type: String, default: '' }, + width: { + type: Number, + default: 700 + }, placeholder: { type: String, default: '请选择' @@ -36,11 +40,6 @@ }, data() { return { - pagination: { - TotalCount: 0, - PageIndex: 1, - PageSize: 10 - }, countryColumns: [ { prop: 'NameCn', @@ -64,35 +63,15 @@ } ], popVisible: false, - selected: [], timer: null } }, - created() {}, - computed: { - keyWords: { - get() { - return this.name - }, - set(val) { - this.$emit('update:name', val) - } - } - }, methods: { handleRowClick(val) { this.$emit('selectedData', val) this.timer = setTimeout(() => { this.popVisible = false }, 200) - }, - handleSizeChange(val) { - this.pagination.PageSize = val - this.getList() - }, - handleCurrentChange(val) { - this.pagination.PageIndex = val - this.getList() } }, destroyed() {