vue view code gen

This commit is contained in:
21世纪小八路
2023-03-31 23:36:54 +08:00
parent cbfc8cb06e
commit 822c45c81e
22 changed files with 949 additions and 198 deletions

View File

@@ -52,9 +52,9 @@ namespace CoreCms.Net.Services.CodeGenerator
/// <param name="tableName"></param>
/// <param name="fileType"></param>
/// <returns></returns>
public byte[] CodeGen(string tableName, string fileType)
public byte[] CodeGen(string tableName, string fileType, bool isVue = false)
{
return _dal.CodeGen(tableName, fileType);
return _dal.CodeGen(tableName, fileType, isVue);
}
@@ -65,10 +65,9 @@ namespace CoreCms.Net.Services.CodeGenerator
/// <param name="tableName"></param>
/// <param name="fileType"></param>
/// <returns></returns>
public byte[] CodeGenByAll(string fileType)
public byte[] CodeGenByAll(string fileType, bool isVue = false)
{
return _dal.CodeGenByAll(fileType);
return _dal.CodeGenByAll(fileType, isVue);
}
}