mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 06:02:38 +08:00
更新 svg, eps
This commit is contained in:
parent
8b102a1d31
commit
bbe4b1cfd8
@ -9,7 +9,7 @@ export default {
|
||||
custom: ({ entityName, propertyName, type }) => {
|
||||
// status原本是tinyint,如果是1的话,== true是可以的,但是不能 === true,请谨慎使用
|
||||
if (propertyName === "status" && type == "tinyint") return "boolean";
|
||||
//如果没有,返回null或者不返回,则继续遍历其他匹配规则
|
||||
// 如果没有,返回null或者不返回,则继续遍历其他匹配规则
|
||||
return null;
|
||||
}
|
||||
},
|
||||
|
@ -222,6 +222,7 @@ export function getEps() {
|
||||
return JSON.stringify(readFile(join(tempPath, "eps.json")));
|
||||
}
|
||||
|
||||
// 获取类型
|
||||
function getType({ entityName, propertyName, type }) {
|
||||
for (const map of config.entity.mapping) {
|
||||
if (map.custom) {
|
||||
|
0
build/cool/temp/entity.d.ts
vendored
Normal file
0
build/cool/temp/entity.d.ts
vendored
Normal file
File diff suppressed because one or more lines are too long
2297
build/cool/temp/service.d.ts
vendored
2297
build/cool/temp/service.d.ts
vendored
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "front-next",
|
||||
"version": "5.4.1",
|
||||
"version": "5.5.0",
|
||||
"scripts": {
|
||||
"dev": "vite --host",
|
||||
"build": "vite build",
|
||||
|
Loading…
Reference in New Issue
Block a user