Commit 262c8524ce587a457024cbafb963bc0095e3ac51

Authored by 梁灏
1 parent d54c9795

Dropdown support global setting

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
src/components/dropdown/dropdown.vue
... ... @@ -49,7 +49,9 @@
49 49 },
50 50 transfer: {
51 51 type: Boolean,
52   - default: false
  52 + default () {
  53 + return this.$IVIEW.transfer === '' ? false : this.$IVIEW.transfer;
  54 + }
53 55 }
54 56 },
55 57 computed: {
... ...