From 86db13591a8adfb3d8f59c2a96fff9af3b793b11 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 02 Jan 2024 15:59:59 +0800
Subject: [PATCH] 修复二级标签显示异常的问题
---
src/views/place/components/baseAllInfo.vue | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/src/views/place/components/baseAllInfo.vue b/src/views/place/components/baseAllInfo.vue
index eb75677..89855bb 100644
--- a/src/views/place/components/baseAllInfo.vue
+++ b/src/views/place/components/baseAllInfo.vue
@@ -455,13 +455,22 @@
imageUrls = urls.join(",")
}
+ let label = this.form.label
+
+ if (this.form.smallLabel != '') {
+ label = label + ',' + this.form.smallLabel
+ }
+
+ delete this.form.smallLabel
+
this.$refs.baseForm.validate((valid, done, msg) => {
if (valid) {
that.$axios.all([
update({
// ...this.placeElement.curRow,
...this.form,
- imageUrls
+ imageUrls,
+ label
}),
updatePlaceExt(this.placeForm)
]).then(that.$axios.spread(function () {
--
Gitblit v1.9.3