1
0
mirror of synced 2025-12-07 22:28:34 +08:00
This commit is contained in:
xuliangzhan
2019-05-16 11:46:07 +08:00
parent 84db0a3c01
commit 14134cf7a6
6 changed files with 52 additions and 33 deletions

View File

@@ -1 +1 @@
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/vxe-table/favicon.ico><title>vxe-table 表格</title><link href=/vxe-table/static/css/chunk-vendors.27509805.css rel=preload as=style><link href=/vxe-table/static/css/index.f95ef1db.css rel=preload as=style><link href=/vxe-table/static/js/chunk-vendors.4df5d86e.js rel=preload as=script><link href=/vxe-table/static/js/index.d11add2d.js rel=preload as=script><link href=/vxe-table/static/css/chunk-vendors.27509805.css rel=stylesheet><link href=/vxe-table/static/css/index.f95ef1db.css rel=stylesheet></head><body><noscript><strong>We're sorry but vxe-table doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/vxe-table/static/js/chunk-vendors.4df5d86e.js></script><script src=/vxe-table/static/js/index.d11add2d.js></script></body></html>
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/vxe-table/favicon.ico><title>vxe-table 表格</title><link href=/vxe-table/static/css/chunk-vendors.27509805.css rel=preload as=style><link href=/vxe-table/static/css/index.f95ef1db.css rel=preload as=style><link href=/vxe-table/static/js/chunk-vendors.4df5d86e.js rel=preload as=script><link href=/vxe-table/static/js/index.a3dc1093.js rel=preload as=script><link href=/vxe-table/static/css/chunk-vendors.27509805.css rel=stylesheet><link href=/vxe-table/static/css/index.f95ef1db.css rel=stylesheet></head><body><noscript><strong>We're sorry but vxe-table doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/vxe-table/static/js/chunk-vendors.4df5d86e.js></script><script src=/vxe-table/static/js/index.a3dc1093.js></script></body></html>

File diff suppressed because one or more lines are too long

View File

@@ -4725,13 +4725,13 @@ if (typeof window !== 'undefined') {
// Indicate to webpack that this file can be concatenated
/* harmony default export */ var setPublicPath = (null);
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js
var web_dom_iterable = __webpack_require__("ac6a");
// EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/array/from.js
var from = __webpack_require__("774e");
var from_default = /*#__PURE__*/__webpack_require__.n(from);
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js
var web_dom_iterable = __webpack_require__("ac6a");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.function.name.js
var es6_function_name = __webpack_require__("7f7f");
@@ -10894,24 +10894,30 @@ function install(Vue, options) {
components.map(function (component) {
return Vue.component(component.name, component);
});
from_default()(arguments).slice(1).forEach(function (plugin) {
if (plugin && plugin.install) {
plugin.install(conf, interceptor);
}
});
use.apply(null, from_default()(arguments).slice(1));
}
}
function use() {
from_default()(arguments).forEach(function (plugin) {
if (plugin && plugin.install) {
plugin.install(conf, interceptor);
}
});
}
if (typeof window !== 'undefined' && window.Vue) {
install(window.Vue);
}
/* harmony default export */ var src = ({
install: install,
use: use,
setup: setup,
Table: components_table,
TableColumn: table_column
TableColumn: table_column,
Grid: table_grid,
Excel: components_excel
});
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

View File

@@ -4734,13 +4734,13 @@ if (typeof window !== 'undefined') {
// Indicate to webpack that this file can be concatenated
/* harmony default export */ var setPublicPath = (null);
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js
var web_dom_iterable = __webpack_require__("ac6a");
// EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/array/from.js
var from = __webpack_require__("774e");
var from_default = /*#__PURE__*/__webpack_require__.n(from);
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js
var web_dom_iterable = __webpack_require__("ac6a");
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.function.name.js
var es6_function_name = __webpack_require__("7f7f");
@@ -10903,24 +10903,30 @@ function install(Vue, options) {
components.map(function (component) {
return Vue.component(component.name, component);
});
from_default()(arguments).slice(1).forEach(function (plugin) {
if (plugin && plugin.install) {
plugin.install(conf, interceptor);
}
});
use.apply(null, from_default()(arguments).slice(1));
}
}
function use() {
from_default()(arguments).forEach(function (plugin) {
if (plugin && plugin.install) {
plugin.install(conf, interceptor);
}
});
}
if (typeof window !== 'undefined' && window.Vue) {
install(window.Vue);
}
/* harmony default export */ var src = ({
install: install,
use: use,
setup: setup,
Table: components_table,
TableColumn: table_column
TableColumn: table_column,
Grid: table_grid,
Excel: components_excel
});
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js

File diff suppressed because one or more lines are too long

View File

@@ -1,8 +1,8 @@
import XEUtils from 'xe-utils'
import Table from './components/table'
import TableColumn from './components/table-column'
import TableConfig from './components/table-grid'
import ExcelTable from './components/excel'
import Grid from './components/table-grid'
import Excel from './components/excel'
import GlobalConfig from './conf'
import EventInterceptor from './interceptor'
@@ -11,8 +11,8 @@ import './style/index.scss'
const components = [
Table,
TableColumn,
TableConfig,
ExcelTable
Grid,
Excel
]
function setup (options = {}) {
@@ -35,21 +35,28 @@ function install (Vue, options) {
setup(options)
}
components.map(component => Vue.component(component.name, component))
Array.from(arguments).slice(1).forEach(plugin => {
if (plugin && plugin.install) {
plugin.install(GlobalConfig, EventInterceptor)
}
})
use.apply(null, Array.from(arguments).slice(1))
}
}
function use () {
Array.from(arguments).forEach(plugin => {
if (plugin && plugin.install) {
plugin.install(GlobalConfig, EventInterceptor)
}
})
}
if (typeof window !== 'undefined' && window.Vue) {
install(window.Vue)
}
export default {
install,
use,
setup,
Table,
TableColumn
TableColumn,
Grid,
Excel
}