让企业管理更智慧、更快捷

Skip to content
源代码提交(3)
## [1.0.25](http://git.leadwaycloud.com/package/lwc-ui-components/compare/v1.0.24...v1.0.25) (2024-01-30)
### Bug Fixes
* 修复弹窗中使用附件管理弹窗显示错误问题 ([26612b4](http://git.leadwaycloud.com/package/lwc-ui-components/commits/26612b442824e860ed868f9a10f8b2b0270177f1))
## [1.0.24](http://git.leadwaycloud.com/package/lwc-ui-components/compare/v1.0.23...v1.0.24) (2024-01-22)
......
{
"name": "@package/lwc-ui-components",
"version": "1.0.25",
"version": "1.0.26",
"private": false,
"description": "立威云UI组件库",
"author": "",
......
......@@ -8,6 +8,13 @@
`新特性`
`非兼容性更新`
---
### **v1.0.25 20240130**
#### 修复
- 修复 lwc-upload-file 组件在弹窗中打开新增和预览蒙版被覆盖的错误
---
### **v1.0.24 20240122**
......
......@@ -506,7 +506,7 @@ export default {
}
xhr.onreadystatechange = function () {
if(xhr.readyState == 4 && xhr.status == 200) {
if(xhr.readyState == 4 && xhr.status == 200 || xhr.code == 200) {
self.$emit("upload", xhr.responseText)
if(self.path) {
self.getHref(xhr.responseText)
......@@ -538,7 +538,7 @@ export default {
}
} else {
const result = JSON.parse(res);
if (result.code === 200) {
if (result.status === 200 || result.code === 200) {
const url = `${this.path}/${result.data.merchantId}/${result.data.id}`;
this.setValue(url, 'add')
}
......