Merge pull request #12970 from dataease/pr@dev-v2_st

fix: 编译报错
This commit is contained in:
dataeaseShu 2024-10-29 15:22:46 +08:00 committed by GitHub
commit 7c394923c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -115,7 +115,7 @@ const props = defineProps({
},
settingTitle: {
type: String,
default: t('system.basic_settings')
default: ''
},
hideHead: {
type: Boolean,
@ -136,7 +136,7 @@ const props = defineProps({
})
const executeTime = ref(t('system.and_0_seconds'))
const curTitle = computed(() => {
return props.settingTitle
return props.settingTitle || t('system.basic_settings')
})
const copyVal = async val => {
try {