Procházet zdrojové kódy

更新履约路径

Huanyi před 2 týdny
rodič
revize
0bcd30a191

+ 1 - 1
src/views/order/management/components/OrderDetailDrawer.vue

@@ -708,7 +708,7 @@ const handleGenerateFulfillPath = () => {
     }
     const hostname = window.location.hostname
     const isIp = /^(\d{1,3}\.){3}\d{1,3}$/.test(hostname)
-    const baseUrl = isIp ? `http://${hostname}` : 'http://hoomeng.pet'
+    const baseUrl = isIp ? `http://${hostname}` : 'https://www.hoomeng.pet'
     const url = `${baseUrl}/fulfillPath?orderId=${id}`
     navigator.clipboard.writeText(url).then(() => {
         ElMessage.success('履约路径已复制到剪贴板')