|
|
@@ -58,11 +58,8 @@ const handleApply = async (file) => {
|
|
|
if (!path) {
|
|
|
path = props.colList[0].colCode
|
|
|
}
|
|
|
- //url是不是否是路径
|
|
|
- let b = file.url.indexOf('/') > -1;
|
|
|
- let split = b ? file.url.split('/') : file.url;
|
|
|
const name = {
|
|
|
- url: b ? split[split.length - 1] : file.url,
|
|
|
+ url: file.url,
|
|
|
path: path,
|
|
|
x: 100,
|
|
|
y: 50,
|