mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-10-28 04:57:17 +08:00
feat: 未进行生成配置的数据表,不允许点击代码生成
This commit is contained in:
@@ -9,6 +9,7 @@ export interface TableRecord {
|
||||
engine: string;
|
||||
charset: string;
|
||||
createTime?: string;
|
||||
isConfiged: boolean;
|
||||
}
|
||||
|
||||
export interface TableParam {
|
||||
|
||||
@@ -78,7 +78,8 @@
|
||||
<a-button
|
||||
type="text"
|
||||
size="small"
|
||||
title="生成"
|
||||
:title="record.isConfiged ? '生成' : '请先进行生成配置'"
|
||||
:disabled="!record.isConfiged"
|
||||
@click="handleGenerate(record.tableName)"
|
||||
>
|
||||
<template #icon><icon-robot-add /></template>生成
|
||||
|
||||
Reference in New Issue
Block a user