diff --git a/admin/src/views/qa/qa.vue b/admin/src/views/qa/qa.vue index 009e1ad7..b56489b4 100644 --- a/admin/src/views/qa/qa.vue +++ b/admin/src/views/qa/qa.vue @@ -189,8 +189,8 @@ alt="" /> - +
(请上传zip格式的文件图片)
@@ -220,8 +220,8 @@ alt="" /> - + (本行程请上传,ppt,word,pdf格式的文件) @@ -313,26 +313,21 @@ :show-file-list="false" :on-success="handleAvatarSuccess" > -
-
- - - -
- +
+ + +
+
(请上传zip格式的文件图片)
@@ -344,26 +339,21 @@ :show-file-list="false" :on-success="handleSuccess" > -
-
- - - -
- +
+ + +
+ (本行程请上传,ppt,word,pdf格式的文件) @@ -431,6 +421,7 @@ export default { ".svg", ".webp", ]; + console.log(url); console.log( "========fffff====" + imageExtensions.some((extension) => @@ -522,8 +513,12 @@ export default { } else { this.anchors = { ...item }; } - this.anchors.img_zip = item.img_zip; - this.anchors.trip_zip = item.trip_zip; + this.anchors.img_zip = img_zip; + this.anchors.trip_zip = trip_zip; + // this.anchors.img_zip = + // typeof item.img_zip == "string" ? [item.img_zip] : item.img_zip; + // this.anchors.trip_zip = + // typeof item.trip_zip == "string" ? [item.trip_zip] : item.trip_zip; this.dialogEdit = true; }, onSave() { @@ -598,6 +593,13 @@ export default { margin-left: 10px; } } +::v-deep.el-upload { + display: flex; +} +.el-icon-plus { + // display: inline-block; + margin-left: 10px; +} .el-icon-folder { color: #409eff !important; font-size: 100px;