mirror of
https://github.com/rustfs/console.git
synced 2026-08-30 17:14:47 +08:00
fix: merge bug
This commit is contained in:
@@ -60,13 +60,6 @@ import type { FormItemRule, FormInst } from 'naive-ui';
|
||||
import { NButton, NForm, NFormItem, NInput } from 'naive-ui';
|
||||
import { ref, watch } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
const { t } = useI18n();
|
||||
const formRef = ref(null);
|
||||
import { NButton, NForm, NFormItem, NInput } from 'naive-ui';
|
||||
import { ref } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
const { getEventTargetArnList } = useEventTarget();
|
||||
const { putBucketNotifications, listBucketNotifications } = useBucket({});
|
||||
const { t } = useI18n();
|
||||
@@ -307,8 +300,6 @@ const handleCancel = () => {
|
||||
// 重置表单验证状态
|
||||
formRef.value?.restoreValidation();
|
||||
};
|
||||
visible.value = false;
|
||||
};
|
||||
|
||||
// 获取arn列表
|
||||
const arnList = ref<Array<{ label: string; value: string }>>([]);
|
||||
|
||||
@@ -204,9 +204,6 @@ const bucketList = computed(() => {
|
||||
}));
|
||||
});
|
||||
|
||||
const bucketName = ref<string>(bucketList.value.length > 0 ? (bucketList.value[0]?.value ?? '') : '');
|
||||
|
||||
const pageData = ref([]);
|
||||
const bucketName = ref<string>(bucketList.value.length > 0 ? (bucketList.value[0]?.value ?? '') : '');
|
||||
const loading = ref<boolean>(false);
|
||||
const pageData = ref<NotificationItem[]>([]);
|
||||
@@ -298,8 +295,6 @@ const newRef = ref();
|
||||
const handleNew = () => {
|
||||
newRef.value.open();
|
||||
};
|
||||
newRef.value.open();
|
||||
};
|
||||
|
||||
const refresh = async () => {
|
||||
if (!bucketName.value) {
|
||||
|
||||
Reference in New Issue
Block a user