Skip to content

Commit

Permalink
fix(Pagination): use import for select
Browse files Browse the repository at this point in the history
Closes # 218
  • Loading branch information
vvpvvp committed Aug 26, 2019
1 parent eb89142 commit 4d995c2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/module/app.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import Vue from 'vue';
import App from './app.vue';
import { install, Prototypes, Button, DropdownMenu } from 'heyuiNative';
import { install, Prototypes, Button, Pagination, DropdownMenu } from 'heyuiNative';

require('../css/module.less');

Vue.use(install, { components: { Button, DropdownMenu }, prototypes: Prototypes });
Vue.use(install, { components: { Button, DropdownMenu, Pagination }, prototypes: Prototypes });

const app = new Vue({
el: '#app',
Expand Down
1 change: 1 addition & 0 deletions doc/module/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<p>
<Button @click="tip">点我</Button>
</p>
<Pagination ></Pagination>
<p>
<DropdownMenu :datas="['菜单1','菜单2']" @click="menuTip" button>菜单</DropdownMenu>
</p>
Expand Down
4 changes: 4 additions & 0 deletions src/components/pagination/pagination.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,16 @@ import config from 'heyui/src/utils/config';
import utils from 'heyui/src/utils/utils';
import Locale from 'heyui/src/mixins/locale';
import Message from 'heyui/src/plugins/message';
import Select from 'heyui/src/components/select';
const prefix = 'h-page';
export default {
name: 'hPagination',
mixins: [Locale],
components: {
Select
},
props: {
size: {
type: Number,
Expand Down
3 changes: 2 additions & 1 deletion src/components/transfer/transfer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@

<script>
import Checkbox from 'heyui/src/components/checkbox';
import Search from 'heyui/src/components/search';
export default {
name: 'hTransfer',
components: { Checkbox },
components: { Checkbox, Search },
props: {
value: {
type: Array,
Expand Down

0 comments on commit 4d995c2

Please sign in to comment.