Merge branch '2.0' of https://github.com/huanghong1125/iview into 2.0
This commit is contained in:
commit
a237e5bd7e
2 changed files with 2 additions and 4 deletions
|
@ -3,8 +3,7 @@
|
||||||
* */
|
* */
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
const isServer = Vue.prototype.$isServer;
|
const isServer = Vue.prototype.$isServer;
|
||||||
// const Popper = isServer ? function() {} : require('popper.js'); // eslint-disable-line
|
const Popper = isServer ? function() {} : require('popper.js/dist/umd/popper.js'); // eslint-disable-line
|
||||||
import Popper from 'popper.js';
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
const isServer = Vue.prototype.$isServer;
|
const isServer = Vue.prototype.$isServer;
|
||||||
import { getStyle } from '../../utils/assist';
|
import { getStyle } from '../../utils/assist';
|
||||||
// const Popper = isServer ? function() {} : require('popper.js'); // eslint-disable-line
|
const Popper = isServer ? function() {} : require('popper.js/dist/umd/popper.js'); // eslint-disable-line
|
||||||
import Popper from 'popper.js';
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Drop',
|
name: 'Drop',
|
||||||
|
|
Loading…
Add table
Reference in a new issue