From 8e61a5b71fae9ab29406766e7dbfba6dab68b592 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 09 May 2025 18:42:18 +0800
Subject: [PATCH] 事件工单页面显示报错处理
---
src/views/tickets/ticket.vue | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/views/tickets/ticket.vue b/src/views/tickets/ticket.vue
index 0ff1485..2657c5a 100644
--- a/src/views/tickets/ticket.vue
+++ b/src/views/tickets/ticket.vue
@@ -697,7 +697,7 @@
mounted () {
const href = this.$route.href
- if (href.split("?").length > 0) {
+ if (href.indexOf('?') != -1 && href.split("?").length > 0) {
const [orderNumber] = href.split("?")[1].split("&")
const order = regExp('orderNumber', orderNumber)
--
Gitblit v1.9.3