@yoooloo42/joker 1.0.126 → 1.0.127
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/dist/index.cjs.js +6 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +6 -0
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -41172,6 +41172,9 @@ const hdl = {
|
|
|
41172
41172
|
ElMessage.error('上传文件的大小不能超过 ' + myProps_box.size + ' KB');
|
|
41173
41173
|
return false
|
|
41174
41174
|
}
|
|
41175
|
+
|
|
41176
|
+
// 因为是单文件上传,所以上传前要清空文件列表
|
|
41177
|
+
fileList_box.value.splice(0, fileList_box.value.length);
|
|
41175
41178
|
ElMessage('正在上传 ...');
|
|
41176
41179
|
return true
|
|
41177
41180
|
},
|
|
@@ -41362,6 +41365,9 @@ const hdl = {
|
|
|
41362
41365
|
ElMessage.error('上传文件的大小不能超过 ' + myProps_box.size + ' KB');
|
|
41363
41366
|
return false
|
|
41364
41367
|
}
|
|
41368
|
+
|
|
41369
|
+
// 因为是单文件上传,所以上传前要清空文件列表
|
|
41370
|
+
fileList_box.value.splice(0, fileList_box.value.length);
|
|
41365
41371
|
ElMessage('正在上传 ...');
|
|
41366
41372
|
return true
|
|
41367
41373
|
},
|