fix: vue warning issue in BackupListItem component (#4870)

#### What type of PR is this?

/area console
/kind improvement
/milestone 2.11.x

#### What this PR does / why we need it:

修复代码错误导致的控制台警告。异常现象:备份列表页面,有多少备份文件就会有多少个警告日志。
![image](https://github.com/halo-dev/halo/assets/44720422/2dc64621-9731-4647-b23e-c3a5aa115c37)

#### Which issue(s) this PR fixes:

Fixes #4871

#### Special notes for your reviewer:

None

#### Does this PR introduce a user-facing change?

```release-note
修复备份页面中的浏览器控制台警告日志
```
pull/4875/head
随心 2023-11-18 00:08:08 +08:00 committed by GitHub
parent 4216d95cd6
commit 747cab3aa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ const { t } = useI18n();
const props = withDefaults(
defineProps<{
backup: Backup;
showOperations: boolean;
showOperations?: boolean;
}>(),
{
showOperations: true,