refactor: use named exports
This commit is contained in:
parent
8099c9efcf
commit
573407b07a
@ -31,9 +31,8 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { AlertBox, Button, Icon } from 'veui'
|
||||
import { AlertBox, Button, Icon, toast } from 'veui'
|
||||
import 'veui-theme-dls-icons/info-circle'
|
||||
import toast from 'veui/managers/toast'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
@ -15,8 +15,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { ConfirmBox, Button } from 'veui'
|
||||
import toast from 'veui/managers/toast'
|
||||
import { ConfirmBox, Button, toast } from 'veui'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
@ -49,8 +49,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { Dialog, Button } from 'veui'
|
||||
import toast from 'veui/managers/toast'
|
||||
import { Dialog, Button, toast } from 'veui'
|
||||
|
||||
function fakeRequest () {
|
||||
return new Promise(resolve =>
|
||||
|
@ -13,8 +13,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import outside from 'veui/directives/outside'
|
||||
import toast from 'veui/managers/toast'
|
||||
import { outside, toast } from 'veui'
|
||||
|
||||
export default {
|
||||
directives: {
|
||||
|
@ -22,8 +22,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import outside from 'veui/directives/outside'
|
||||
import toast from 'veui/managers/toast'
|
||||
import { outside, toast } from 'veui'
|
||||
|
||||
export default {
|
||||
directives: {
|
||||
|
@ -10,8 +10,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import outside from 'veui/directives/outside'
|
||||
import toast from 'veui/managers/toast'
|
||||
import { outside, toast } from 'veui'
|
||||
|
||||
export default {
|
||||
directives: {
|
||||
|
@ -48,8 +48,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { Dropdown, OptionGroup, Option } from 'veui'
|
||||
import toast from 'veui/managers/toast'
|
||||
import { Dropdown, OptionGroup, Option, toast } from 'veui'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
@ -27,8 +27,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { Dropdown } from 'veui'
|
||||
import toast from 'veui/managers/toast'
|
||||
import { Dropdown, toast } from 'veui'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
@ -16,8 +16,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { PromptBox, Button } from 'veui'
|
||||
import toast from 'veui/managers/toast'
|
||||
import { PromptBox, Button, toast } from 'veui'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
@ -19,8 +19,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { SearchBox } from 'veui'
|
||||
import toast from 'veui/managers/toast'
|
||||
import { SearchBox, toast } from 'veui'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
Loading…
Reference in New Issue
Block a user