diff --git a/admin/src/views/qa/qa.vue b/admin/src/views/qa/qa.vue index 6bc9faa6..5d530974 100644 --- a/admin/src/views/qa/qa.vue +++ b/admin/src/views/qa/qa.vue @@ -184,7 +184,7 @@ class="avatar" alt="" /> -
{{ item }}
+
{{ handleRegex(item) }}
@@ -210,7 +210,7 @@ class="avatar" alt="" /> -
{{ item }}
+
{{ handleRegex(item) }}
@@ -316,7 +316,7 @@ class="avatar" alt="" /> -
{{ item }}
+
{{ handleRegex(item) }}
@@ -342,7 +342,7 @@ class="avatar" alt="" /> -
{{ item }}
+
{{ handleRegex(item) }}
@@ -475,6 +475,12 @@ export default { ); console.log("====111122222===" + this.anchors.trip_zip); }, + handleRegex(val) { + const regex = /\/([^\/]+)$/; + const match = val.match(regex); + console.log(match[1]); + return match[1]; + }, onAdd() { this.anchors.qaQuestions = [ {