-
+
{{ item.name }}
@@ -91,6 +91,16 @@ const link_value = ref
([]);
const reset_compontent = ref(false);
const custom_link_type = ref(props.type);
const base_data = ref([]);
+watch(
+ () => props.type,
+ (new_val) => {
+ if (new_val.length > 0) {
+ link_select.value = props.type[0];
+ } else {
+ link_select.value = '';
+ }
+ }
+);
onMounted(() => {
nextTick(() => {
// 定时获取common_store.common.article_category的数据,直到拿到值或者关闭页面为止
diff --git a/src/components/model-custom/model-custom-content.vue b/src/components/model-custom/model-custom-content.vue
index 3261c5df..56cedfa3 100644
--- a/src/components/model-custom/model-custom-content.vue
+++ b/src/components/model-custom/model-custom-content.vue
@@ -1,5 +1,6 @@
+ {{ form.data_source }}
数据源
From bb65290dafd0d894d3b03135c81f7e07b5c8a5de Mon Sep 17 00:00:00 2001
From: sws <1141121512@qq.com>
Date: Thu, 5 Sep 2024 15:38:12 +0800
Subject: [PATCH 3/3] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E4=B8=8A=E4=BC=A0?=
=?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=96=87=E4=BB=B6=E6=9F=A5=E8=AF=A2=E6=95=B0?=
=?UTF-8?q?=E9=87=8F=EF=BC=9A21?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/common/url-value/link-goods.vue | 1 -
src/components/model-custom/model-custom-content.vue | 1 -
2 files changed, 2 deletions(-)
diff --git a/src/components/common/url-value/link-goods.vue b/src/components/common/url-value/link-goods.vue
index fb25811f..db8b5fa6 100644
--- a/src/components/common/url-value/link-goods.vue
+++ b/src/components/common/url-value/link-goods.vue
@@ -64,7 +64,6 @@ watch(
}
}
);
-console.log(1);
onMounted(() => {
init();
});
diff --git a/src/components/model-custom/model-custom-content.vue b/src/components/model-custom/model-custom-content.vue
index 56cedfa3..3261c5df 100644
--- a/src/components/model-custom/model-custom-content.vue
+++ b/src/components/model-custom/model-custom-content.vue
@@ -1,6 +1,5 @@
- {{ form.data_source }}
数据源