Feature/0723/zr #9
Reference in New Issue
Block a user
Delete Branch "feature/0723/ZR"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@@ -89,0 +97,4 @@const playerColumns = computed(() => {const cols = [...BASE_PLAYER_COLUMNS];if (detail.value?.isRequireIdCardNo === '1') cols.push(ID_CARD_COLUMN);if (detail.value?.isRequireIdCardImg === '1') cols.push(ID_CARD_IMG_COLUMN);const CONDITIONAL_COLUMNS: ConditionalColumnConfig = [
{ key: 'isRequireIdCardNo', column: ID_CARD_COLUMN },
{ key: 'isRequireIdCardImg', column: ID_CARD_IMG_COLUMN },
];
const cols = [
...BASE_COLUMNS,
...CONDITIONAL_COLUMNS
.filter(({ key }) => detail.value?.[key] === 1)
.map(({ column }) => column),
]; 这个只是一个 示例 你按照这个来优化下 这样 可维护性高
@@ -0,0 +63,4 @@} catch {return;}你这个 formRef.value?.validate() 你看下 需要手动return吗