fixschame
This commit is contained in:
parent
dc44e4f5a0
commit
bd9a4ba71f
|
|
@ -314,11 +314,11 @@ var i18ns = [
|
|||
}
|
||||
},
|
||||
{
|
||||
id: "bcef8b0d14c15026960f496b9aa08e7f",
|
||||
namespace: "oak-general-business-l-common",
|
||||
id: "c92ab50ae7c0980c7a8cde78031a9ca9",
|
||||
namespace: "oak-general-business-l-Common",
|
||||
language: "zh-CN",
|
||||
module: "oak-general-business",
|
||||
position: "locales/common",
|
||||
position: "locales/Common",
|
||||
data: {
|
||||
"noData": "暂无数据",
|
||||
"areYouSure": "请确认",
|
||||
|
|
|
|||
|
|
@ -1,20 +1,22 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
;
|
||||
var locale = {
|
||||
zh_CN: {
|
||||
name: '密码修改记录',
|
||||
attr: {
|
||||
user: '用户',
|
||||
prevPassword: '原密码',
|
||||
newPassword: '新密码',
|
||||
result: "修改结果",
|
||||
var entityDesc = {
|
||||
locales: {
|
||||
zh_CN: {
|
||||
name: '密码修改记录',
|
||||
attr: {
|
||||
user: '用户',
|
||||
prevPassword: '原密码',
|
||||
newPassword: '新密码',
|
||||
result: "修改结果",
|
||||
},
|
||||
v: {
|
||||
result: {
|
||||
success: '成功',
|
||||
fail: '失败'
|
||||
}
|
||||
},
|
||||
},
|
||||
v: {
|
||||
result: {
|
||||
success: '成功',
|
||||
fail: '失败'
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -314,11 +314,11 @@ const i18ns: I18n[] = [
|
|||
}
|
||||
},
|
||||
{
|
||||
id: "bcef8b0d14c15026960f496b9aa08e7f",
|
||||
namespace: "oak-general-business-l-common",
|
||||
id: "c92ab50ae7c0980c7a8cde78031a9ca9",
|
||||
namespace: "oak-general-business-l-Common",
|
||||
language: "zh-CN",
|
||||
module: "oak-general-business",
|
||||
position: "locales/common",
|
||||
position: "locales/Common",
|
||||
data: {
|
||||
"noData": "暂无数据",
|
||||
"areYouSure": "请确认",
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ import { String, Text, Boolean, Datetime } from 'oak-domain/lib/types/DataType';
|
|||
import { LocaleDef } from 'oak-domain/lib/types/Locale';
|
||||
import { ActionDef, Index } from 'oak-domain/lib/types';
|
||||
import { Schema as User } from './User';
|
||||
import { EntityDesc } from 'oak-domain/lib/types/EntityDesc';
|
||||
|
||||
export interface Schema extends EntityShape {
|
||||
user: User;
|
||||
|
|
@ -12,22 +13,27 @@ export interface Schema extends EntityShape {
|
|||
};
|
||||
|
||||
|
||||
const locale: LocaleDef<Schema, '', '', {
|
||||
result: Schema['result']
|
||||
}> = {
|
||||
zh_CN: {
|
||||
name: '密码修改记录',
|
||||
attr: {
|
||||
user: '用户',
|
||||
prevPassword: '原密码',
|
||||
newPassword: '新密码',
|
||||
result: "修改结果",
|
||||
const entityDesc: EntityDesc<Schema,
|
||||
'',
|
||||
'',
|
||||
{
|
||||
result: Schema['result'];
|
||||
}> = {
|
||||
locales: {
|
||||
zh_CN: {
|
||||
name: '密码修改记录',
|
||||
attr: {
|
||||
user: '用户',
|
||||
prevPassword: '原密码',
|
||||
newPassword: '新密码',
|
||||
result: "修改结果",
|
||||
},
|
||||
v: {
|
||||
result: {
|
||||
success: '成功',
|
||||
fail: '失败'
|
||||
}
|
||||
},
|
||||
},
|
||||
v: {
|
||||
result: {
|
||||
success: '成功',
|
||||
fail: '失败'
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ import { ActionType, EntityShape } from "oak-domain/lib/types/Entity";
|
|||
import { String, Text, Boolean, Datetime } from "oak-domain/lib/types/DataType";
|
||||
import { LocaleDef } from "oak-domain/lib/types/Locale";
|
||||
import { ActionDef, Index } from "oak-domain/lib/types";
|
||||
import { EntityDesc } from "oak-domain/lib/types/EntityDesc";
|
||||
import * as User from "../User/Schema";
|
||||
export type OpSchema = EntityShape & {
|
||||
userId: ForeignKey<"user">;
|
||||
|
|
|
|||
Loading…
Reference in New Issue