centaline-data-driven 1.4.5 → 1.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/centaline/comfirm/src/comfirm.vue +3 -3
- package/src/centaline/common/index.js +1 -1
- package/src/centaline/css/common.css +1 -1
- package/src/centaline/loader/src/ctl/SliceUpload.js +1 -1
- package/src/main.js +1 -1
- package/wwwroot/static/centaline/centaline-data-driven.js +1 -1
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="ct-comfirm-content max-comfirm-content">
|
|
3
|
-
<div style="margin-top: 15px;margin-bottom: 15px;min-width: 150px;text-align: center;">
|
|
4
|
-
<
|
|
3
|
+
<div style="margin-top: 15px;margin-bottom: 15px;min-width: 150px;text-align: center; display: flex; justify-content: center;">
|
|
4
|
+
<div style="text-align: left;">{{text}}</div>
|
|
5
5
|
</div>
|
|
6
|
-
<div style="text-align:center;width:100
|
|
6
|
+
<div style="text-align:center;width:100%;margin-bottom: 15px;">
|
|
7
7
|
<el-button @click="clickHandler($event,true)" type="primary" size="mini">{{options.confirmButtonText||'确定'}}</el-button>
|
|
8
8
|
<el-button v-if="options.flagShowcCancelButton===undefined || options.flagShowcCancelButton==='1'" @click="clickHandler($event,false)" size="mini">{{options.cancelButtonText||'取消'}}</el-button>
|
|
9
9
|
</div>
|
|
@@ -13,7 +13,7 @@ async function postFile(api, data, callback) {
|
|
|
13
13
|
|
|
14
14
|
//分片上传
|
|
15
15
|
const uploadByPieces = async (url, { file }, callback, uploadOptions) => {
|
|
16
|
-
var uploadData = { blockSize: 5 * 1024 * 1024, nextOffSet: 0 };
|
|
16
|
+
var uploadData = { blockSize: 0.5 * 1024 * 1024, nextOffSet: 0 };
|
|
17
17
|
// 获取当前chunk数据
|
|
18
18
|
const getChunkInfo = (file, data) => {
|
|
19
19
|
let start = data.nextOffSet;
|
package/src/main.js
CHANGED
|
@@ -43,7 +43,7 @@ Vue.use(centaline, {
|
|
|
43
43
|
getRequestHeaders: function () {
|
|
44
44
|
return {
|
|
45
45
|
oldToken: '854e91e2-3a5e-42af-a522-c51a0f5c09bc',
|
|
46
|
-
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.
|
|
46
|
+
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjEOgkAQRe8yNZMwMDszSycLNh6CuGFJsDICicZ4dzVCR-8rXvGa_58wLREq0BXc0UbnV3BHGx0ReyVp8eA1IAuXaBQMA0vgY9OWoW4gg3S_QkUi6p0WuWYwnudfMM3tG5Yp3U7p8Y9zl3n8zBIPYs4bRjcocuEMPYkh5cZ9ZNeXHOH1BgAA__8.J4WTk1z7IsB5k_3a-fvnnjm6AUgGBRi7Y631pFLVCPo',
|
|
47
47
|
|
|
48
48
|
originalRequestURL: 'http://10.88.22.67:8080',
|
|
49
49
|
EstateInfo: '{"estateId":"FAF029E8-EC28-4297-83CF-B8FFD826DB91","estateName":"AABBCC"}',
|