diff --git a/apps/daas/src/views/notification/NotificationPopover.vue b/apps/daas/src/views/notification/NotificationPopover.vue
index 96d28ba56..27c92b5cf 100644
--- a/apps/daas/src/views/notification/NotificationPopover.vue
+++ b/apps/daas/src/views/notification/NotificationPopover.vue
@@ -503,7 +503,7 @@ export default {
border-radius: 50%;
}
&:hover {
- background-color: #ecf5ff;
+ background-color: var(--el-fill-color-light);
}
&:last-child {
border: none;
diff --git a/apps/daas/src/views/notification/UserNotification.vue b/apps/daas/src/views/notification/UserNotification.vue
index bcd5e89fb..6c218f136 100644
--- a/apps/daas/src/views/notification/UserNotification.vue
+++ b/apps/daas/src/views/notification/UserNotification.vue
@@ -148,11 +148,15 @@ export default {
magnify
+
+
+ refresh
+
- -
+
-
- {{ record.createTimeFmt }}
+ {{ record.createTimeFmt }}
-import { h } from 'vue'
-
-export default {
- props: {
- record: {
- type: Object,
- required: true,
- },
- },
- render() {
- const record = this.record
- const activeTextStyle = 'color: #2C65FF; padding-right: 5px;'
+
-
+
+function openSource() {
+ if (!canOpenSource.value) return
+
+ const route = router.resolve({
+ name: sourceRouteName.value,
+ params: {
+ id: sourceId.value,
+ },
+ })
+
+ window.open(route.href, '_blank')
+}
+
+
+
+
+
+
+
diff --git a/packages/business/src/views/connections/DatabaseForm.vue b/packages/business/src/views/connections/DatabaseForm.vue
index 16f8f3d90..5b071d86a 100644
--- a/packages/business/src/views/connections/DatabaseForm.vue
+++ b/packages/business/src/views/connections/DatabaseForm.vue
@@ -375,8 +375,16 @@ export default {
},
async getPdkForm() {
const pdkHash = this.$route.query?.pdkHash
- const data = await fetchDatabaseTypeByPdkHash(pdkHash)
const id = this.id || this.$route.params.id
+
+ if (id) {
+ await this.getPdkData(id)
+ }
+
+ const data = await fetchDatabaseTypeByPdkHash(
+ pdkHash || this.model.pdkHash,
+ )
+
this.pdkOptions = data || {}
if (
@@ -1286,7 +1294,6 @@ export default {
}
if (id) {
- await this.getPdkData(id)
// 开启了共享挖掘
const { shareCdcEnable, shareCDCExternalStorageId } = this.model
if (shareCdcEnable && shareCDCExternalStorageId) {
@@ -1688,7 +1695,7 @@ export default {