wl-design-mobile 0.8.11 → 0.8.13
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.
|
@@ -63,7 +63,9 @@ export default {
|
|
|
63
63
|
let formData = new FormData();
|
|
64
64
|
formData.append('file', file);
|
|
65
65
|
console.log("lambo-img-upload-collapse afterRead 上传路径:", fileUploadUrl)
|
|
66
|
-
axios.post(fileUploadUrl, formData, {
|
|
66
|
+
axios.post(fileUploadUrl, formData, {
|
|
67
|
+
payload:true
|
|
68
|
+
}).then(res => {
|
|
67
69
|
console.log("lambo-img-upload-collapse afterRead 上传结果:", res)
|
|
68
70
|
if (res && res.code == "1") {
|
|
69
71
|
let fileData = res.data;
|
|
@@ -212,10 +212,10 @@ export default {
|
|
|
212
212
|
this.previewModalVisible = true
|
|
213
213
|
},
|
|
214
214
|
handleSubmit() {
|
|
215
|
-
if (!this.applyDescription.trim()) {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
}
|
|
215
|
+
// if (!this.applyDescription.trim()) {
|
|
216
|
+
// this.$toast({ message: '请输入申请描述', position: 'middle' })
|
|
217
|
+
// return
|
|
218
|
+
// }
|
|
219
219
|
this.submitting = true
|
|
220
220
|
this.$emit('submit', {
|
|
221
221
|
applyDescription: this.applyDescription,
|