1
0
mirror of synced 2025-12-07 22:28:34 +08:00
This commit is contained in:
xuliangzhan
2019-05-06 23:26:31 +08:00
parent 11b2d27948
commit c38c7b5a77
49 changed files with 91 additions and 50 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.f68b9fb9.css rel=preload as=style><link href=/vxe-table/static/css/index.531aff12.css rel=preload as=style><link href=/vxe-table/static/js/chunk-vendors.4a1ca0f8.js rel=preload as=script><link href=/vxe-table/static/js/index.d897f6dd.js rel=preload as=script><link href=/vxe-table/static/css/chunk-vendors.f68b9fb9.css rel=stylesheet><link href=/vxe-table/static/css/index.531aff12.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.4a1ca0f8.js></script><script src=/vxe-table/static/js/index.d897f6dd.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.f68b9fb9.css rel=preload as=style><link href=/vxe-table/static/css/index.2a3d662a.css rel=preload as=style><link href=/vxe-table/static/js/chunk-vendors.4a1ca0f8.js rel=preload as=script><link href=/vxe-table/static/js/index.9f5725eb.js rel=preload as=script><link href=/vxe-table/static/css/chunk-vendors.f68b9fb9.css rel=stylesheet><link href=/vxe-table/static/css/index.2a3d662a.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.4a1ca0f8.js></script><script src=/vxe-table/static/js/index.9f5725eb.js></script></body></html>

1
docs/static/js/index.9f5725eb.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -13,7 +13,7 @@ import XEUtils from 'xe-utils'
Vue.config.productionTip = false
// 后台异步生成20万数据为了避免大量运算卡主页面
var list = window.CACHE_DATA_LIST = []
var list = window.MOCK_DATA_LIST = []
var currTime = Date.now()
var fullIndex = 0
var size = 200000

View File

@@ -175,7 +175,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 100)
let list = window.MOCK_DATA_LIST.slice(0, 100)
this.tableData = list
},
methods: {

View File

@@ -36,7 +36,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 20)
let list = window.MOCK_DATA_LIST.slice(0, 20)
this.tableData = list
}
}

View File

@@ -76,7 +76,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 6)
let list = window.MOCK_DATA_LIST.slice(0, 6)
this.tableData = list
}
}

View File

@@ -72,7 +72,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 50)
let list = window.MOCK_DATA_LIST.slice(0, 50)
this.tableData = list
},
methods: {

View File

@@ -63,7 +63,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 6)
let list = window.MOCK_DATA_LIST.slice(0, 6)
this.tableData = list
},
methods: {

View File

@@ -101,7 +101,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 6)
let list = window.MOCK_DATA_LIST.slice(0, 6)
this.tableData = list
},
methods: {

View File

@@ -36,7 +36,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 20)
let list = window.MOCK_DATA_LIST.slice(0, 20)
this.tableData = list
},
methods: {

View File

@@ -64,6 +64,9 @@ export default {
return {
tableData: []
}
},
created () {
this.tableData = window.MOCK_DATA_LIST.slice(0, 6)
}
}
`,
@@ -84,6 +87,9 @@ export default {
return {
tableData: []
}
},
created () {
this.tableData = window.MOCK_DATA_LIST.slice(0, 6)
}
}
`
@@ -91,7 +97,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 6)
let list = window.MOCK_DATA_LIST.slice(0, 6)
this.tableData = list
},
mounted () {

View File

@@ -22,7 +22,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 6)
let list = window.MOCK_DATA_LIST.slice(0, 6)
this.tableData = list
}
}

View File

@@ -24,7 +24,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 50)
let list = window.MOCK_DATA_LIST.slice(0, 50)
this.tableData = list
},
methods: {

View File

@@ -36,7 +36,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 4)
let list = window.MOCK_DATA_LIST.slice(0, 4)
this.tableData = list
}
}

View File

@@ -39,7 +39,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 50)
let list = window.MOCK_DATA_LIST.slice(0, 50)
this.tableData = list
}
}

View File

@@ -24,7 +24,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 6)
let list = window.MOCK_DATA_LIST.slice(0, 6)
this.tableData = list
},
methods: {

View File

@@ -51,7 +51,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 50)
let list = window.MOCK_DATA_LIST.slice(0, 50)
this.tableData = list
}
}

View File

@@ -36,7 +36,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 6)
let list = window.MOCK_DATA_LIST.slice(0, 6)
this.tableData = list
}
}

View File

@@ -23,7 +23,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 50)
let list = window.MOCK_DATA_LIST.slice(0, 50)
this.tableData = list
}
}

View File

@@ -38,9 +38,9 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 4)
let list = window.MOCK_DATA_LIST.slice(0, 4)
this.tableData = list
this.tableData2 = window.CACHE_DATA_LIST.slice(0, 50)
this.tableData2 = window.MOCK_DATA_LIST.slice(0, 50)
},
methods: {
indexMethod ({ rowIndex }) {

View File

@@ -41,7 +41,7 @@ export default {
created () {
this.loading = true
setTimeout(() => {
let list = window.CACHE_DATA_LIST.slice(0, 50)
let list = window.MOCK_DATA_LIST.slice(0, 50)
this.tableData = list
this.loading = false
}, 3000)

View File

@@ -39,9 +39,9 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 50)
let list = window.MOCK_DATA_LIST.slice(0, 50)
this.tableData = list
this.tableData2 = window.CACHE_DATA_LIST.slice(0, 2)
this.tableData2 = window.MOCK_DATA_LIST.slice(0, 2)
}
}
</script>

View File

@@ -50,7 +50,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 6)
let list = window.MOCK_DATA_LIST.slice(0, 6)
this.tableData = list
}
}

View File

@@ -26,7 +26,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 6)
let list = window.MOCK_DATA_LIST.slice(0, 6)
this.tableData = list
}
}

View File

@@ -36,7 +36,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 50)
let list = window.MOCK_DATA_LIST.slice(0, 50)
this.tableData = list
}
}

View File

@@ -57,7 +57,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 4)
let list = window.MOCK_DATA_LIST.slice(0, 4)
this.tableData = list
}
}

View File

@@ -38,7 +38,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 50)
let list = window.MOCK_DATA_LIST.slice(0, 50)
this.tableData = list
}
}

View File

@@ -35,7 +35,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 6)
let list = window.MOCK_DATA_LIST.slice(0, 6)
this.tableData = list
}
}

View File

@@ -27,7 +27,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 6)
let list = window.MOCK_DATA_LIST.slice(0, 6)
this.tableData = list
},
methods: {

View File

@@ -26,7 +26,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 6)
let list = window.MOCK_DATA_LIST.slice(0, 6)
this.tableData = list
}
}

View File

@@ -66,6 +66,9 @@ export default {
return {
tableData: []
}
},
created () {
this.tableData = window.MOCK_DATA_LIST.slice(0, 6)
}
}
`,
@@ -87,6 +90,9 @@ export default {
return {
tableData: []
}
},
created () {
this.tableData = window.MOCK_DATA_LIST.slice(0, 6)
}
}
`
@@ -94,7 +100,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 6)
let list = window.MOCK_DATA_LIST.slice(0, 6)
this.tableData = list
},
mounted () {

View File

@@ -66,6 +66,9 @@ export default {
return {
tableData: []
}
},
created () {
this.tableData = window.MOCK_DATA_LIST.slice(0, 6)
}
}
`,
@@ -87,6 +90,9 @@ export default {
return {
tableData: []
}
},
created () {
this.tableData = window.MOCK_DATA_LIST.slice(0, 6)
}
}
`
@@ -94,7 +100,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 6)
let list = window.MOCK_DATA_LIST.slice(0, 6)
this.tableData = list
},
mounted () {

View File

@@ -24,7 +24,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 6)
let list = window.MOCK_DATA_LIST.slice(0, 6)
this.tableData = list
},
methods: {

View File

@@ -26,7 +26,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 6)
let list = window.MOCK_DATA_LIST.slice(0, 6)
this.tableData = list
}
}

View File

@@ -60,6 +60,9 @@ export default {
return {
tableData: []
}
},
created () {
this.tableData = window.MOCK_DATA_LIST.slice(0, 6)
}
}
`
@@ -67,7 +70,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 6)
let list = window.MOCK_DATA_LIST.slice(0, 6)
this.tableData = list
},
mounted () {

View File

@@ -24,7 +24,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 6)
let list = window.MOCK_DATA_LIST.slice(0, 6)
this.tableData = list
}
}

View File

@@ -24,7 +24,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 6)
let list = window.MOCK_DATA_LIST.slice(0, 6)
this.tableData = list
}
}

View File

@@ -23,7 +23,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 6)
let list = window.MOCK_DATA_LIST.slice(0, 6)
this.tableData = list
}
}

View File

@@ -34,7 +34,7 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 6)
let list = window.MOCK_DATA_LIST.slice(0, 6)
this.tableData = list
}
}

View File

@@ -164,6 +164,9 @@ export default {
sexList: [],
regionList: []
}
},
created () {
this.tableData = window.MOCK_DATA_LIST.slice(0, 100)
}
}
`
@@ -173,7 +176,7 @@ export default {
created () {
this.loading = true
setTimeout(() => {
let list = window.CACHE_DATA_LIST.slice(0, 100)
let list = window.MOCK_DATA_LIST.slice(0, 100)
this.tableData = list
this.loading = false
}, 500)

View File

@@ -94,6 +94,9 @@ export default {
sexList: [],
regionList: []
}
},
created () {
this.tableData = window.MOCK_DATA_LIST.slice(0, 100)
}
}
`
@@ -103,7 +106,7 @@ export default {
created () {
this.loading = true
setTimeout(() => {
let list = window.CACHE_DATA_LIST.slice(0, 100)
let list = window.MOCK_DATA_LIST.slice(0, 100)
this.tableData = list
this.loading = false
}, 500)

View File

@@ -150,6 +150,9 @@ export default {
sexList: [],
regionList: []
}
},
created () {
this.tableData = window.MOCK_DATA_LIST.slice(0, 100)
}
}
`
@@ -159,7 +162,7 @@ export default {
created () {
this.loading = true
setTimeout(() => {
let list = window.CACHE_DATA_LIST.slice(0, 100)
let list = window.MOCK_DATA_LIST.slice(0, 100)
this.tableData = list
this.loading = false
}, 500)

View File

@@ -92,6 +92,9 @@ export default {
sexList: [],
regionList: []
}
},
created () {
this.tableData = window.MOCK_DATA_LIST.slice(0, 100)
}
}
`
@@ -101,7 +104,7 @@ export default {
created () {
this.loading = true
setTimeout(() => {
let list = window.CACHE_DATA_LIST.slice(0, 100)
let list = window.MOCK_DATA_LIST.slice(0, 100)
this.tableData = list
this.loading = false
}, 500)

View File

@@ -72,6 +72,10 @@ export default {
tableData: [],
tableData2: []
}
},
created () {
this.tableData = window.MOCK_DATA_LIST.slice(0, 200)
this.tableData2 = window.MOCK_DATA_LIST.slice(0, 1000)
}
}
`,
@@ -94,6 +98,10 @@ export default {
tableData: [],
tableData2: []
}
},
created () {
this.tableData = window.MOCK_DATA_LIST.slice(0, 200)
this.tableData2 = window.MOCK_DATA_LIST.slice(0, 1000)
}
}
`
@@ -101,9 +109,9 @@ export default {
}
},
created () {
let list = window.CACHE_DATA_LIST.slice(0, 200)
let list = window.MOCK_DATA_LIST.slice(0, 200)
this.tableData = list
this.tableData2 = window.CACHE_DATA_LIST.slice(0, 1000)
this.tableData2 = window.MOCK_DATA_LIST.slice(0, 1000)
},
mounted () {
this.$el.querySelectorAll('pre code').forEach((block) => {

View File

@@ -46,7 +46,7 @@ export default {
this.$refs.xTable.reload([])
setTimeout(() => {
let size = this.$route.params.size
let list = window.CACHE_DATA_LIST.slice(0, size)
let list = window.MOCK_DATA_LIST.slice(0, size)
this.$refs.xTable.reload(list)
this.loading = false
}, 500)

View File

@@ -52,7 +52,7 @@ export default {
this.$refs.xTable.reload([])
setTimeout(() => {
let size = this.$route.params.size
let list = window.CACHE_DATA_LIST.slice(0, size)
let list = window.MOCK_DATA_LIST.slice(0, size)
this.$refs.xTable.reload(list)
this.loading = false
}, 500)

View File

@@ -29,7 +29,7 @@ export default {
this.tableData = []
setTimeout(() => {
let size = this.$route.params.size
let list = window.CACHE_DATA_LIST.slice(0, size)
let list = window.MOCK_DATA_LIST.slice(0, size)
this.tableData = list
this.loading = false
}, 500)