Commit 58f64ef6 authored by 黄奎's avatar 黄奎

页面修改

parent d1b0f930
...@@ -20,7 +20,7 @@ export function getFontConfig() { ...@@ -20,7 +20,7 @@ export function getFontConfig() {
/** /**
* 自定义上传文件 * 上传文件
*/ */
export function UploadSelfFile(path, file, callback, configObj) { export function UploadSelfFile(path, file, callback, configObj) {
//用户登录缓存 //用户登录缓存
...@@ -30,9 +30,7 @@ export function UploadSelfFile(path, file, callback, configObj) { ...@@ -30,9 +30,7 @@ export function UploadSelfFile(path, file, callback, configObj) {
if (cacheInfo && cacheInfo.data && cacheInfo.data.UploadConfig) { if (cacheInfo && cacheInfo.data && cacheInfo.data.UploadConfig) {
uploadConfig = cacheInfo.data.UploadConfig; uploadConfig = cacheInfo.data.UploadConfig;
} }
console.log("uploadConfig", uploadConfig);
//获取文件扩展名 //获取文件扩展名
console.log("file", file);
var index = file.name.lastIndexOf("."); var index = file.name.lastIndexOf(".");
var suffix = file.name.substr(index); var suffix = file.name.substr(index);
var timestamp1 = Date.parse(new Date()) + "_" + (Math.ceil(Math.random() * 1000)); var timestamp1 = Date.parse(new Date()) + "_" + (Math.ceil(Math.random() * 1000));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment