diff --git a/src/pages-infra/data-source-config/detail/index.vue b/src/pages-infra/data-source-config/detail/index.vue
index b0fde6a..dd27a41 100644
--- a/src/pages-infra/data-source-config/detail/index.vue
+++ b/src/pages-infra/data-source-config/detail/index.vue
@@ -12,8 +12,11 @@
-
-
+
+
+ {{ formData?.url || '-' }}
+
+
@@ -69,6 +72,20 @@ function handleBack() {
navigateBackPlus('/pages-infra/data-source-config/index')
}
+/** 复制文本并提示 */
+function handleCopyText(text?: string, title?: string) {
+ if (!text || text === '-') {
+ return
+ }
+ uni.setClipboardData({
+ data: text,
+ success: () => {
+ uni.hideToast()
+ toast.success(`${title || '内容'}已复制`)
+ },
+ })
+}
+
/** 加载数据源配置详情 */
async function getDetail() {
if (!props.id) {
diff --git a/src/pages-infra/data-source-config/form/index.vue b/src/pages-infra/data-source-config/form/index.vue
index 4a50811..9650bf3 100644
--- a/src/pages-infra/data-source-config/form/index.vue
+++ b/src/pages-infra/data-source-config/form/index.vue
@@ -142,4 +142,4 @@ onMounted(() => {
\ No newline at end of file
+