build暨2.3.5-publish

This commit is contained in:
Xu Chang 2023-02-01 21:07:39 +08:00
parent a8e9026644
commit 0e0ee688ff
7 changed files with 14 additions and 14 deletions

View File

@ -12,7 +12,7 @@ export interface Schema extends EntityShape {
system: System;
type: String<64>;
weight: 'high' | 'medium' | 'low' | 'data';
title: String<32>;
title: String<256>;
content: Text;
props: Object;
data?: Object;

View File

@ -17,7 +17,7 @@ export declare type OpSchema = EntityShape & {
systemId: ForeignKey<"system">;
type: String<64>;
weight: 'high' | 'medium' | 'low' | 'data';
title: String<32>;
title: String<256>;
content: Text;
props: Object;
data?: Object | null;
@ -31,7 +31,7 @@ export declare type Schema = EntityShape & {
systemId: ForeignKey<"system">;
type: String<64>;
weight: 'high' | 'medium' | 'low' | 'data';
title: String<32>;
title: String<256>;
content: Text;
props: Object;
data?: Object | null;

View File

@ -27,7 +27,7 @@ exports.desc = {
title: {
type: "varchar",
params: {
length: 32
length: 256
}
},
content: {

View File

@ -14,10 +14,10 @@ function render(props) {
},
] }, { children: (0, jsx_runtime_1.jsx)(antd_1.Radio.Group, { value: relation, onChange: function (e) {
setRelation(e.target.value);
}, options: relations === null || relations === void 0 ? void 0 : relations.map(function (ele) { return {
}, options: relations === null || relations === void 0 ? void 0 : relations.map(function (ele) { return ({
value: ele,
label: entity ? t(entity + ':r.' + ele) : ele,
}; }) }) })), type === 'grant' && ((0, jsx_runtime_1.jsx)(antd_1.Form.Item, tslib_1.__assign({ label: "\u4EBA\u6570", rules: [
}); }) }) })), type === 'grant' && ((0, jsx_runtime_1.jsx)(antd_1.Form.Item, tslib_1.__assign({ label: "\u4EBA\u6570", rules: [
{
required: true,
message: '请选择分享的目标人数',

View File

@ -21,10 +21,10 @@ function render(props) {
var target = _a.target;
var value = target.value;
update({ relation: value });
}, options: relations === null || relations === void 0 ? void 0 : relations.map(function (ele) { return {
}, options: relations === null || relations === void 0 ? void 0 : relations.map(function (ele) { return ({
value: ele,
label: entity ? t(entity + ':r.' + ele) : ele,
}; }) }) })), type === 'grant' && ((0, jsx_runtime_1.jsx)(antd_1.Form.Item, tslib_1.__assign({ label: "\u4EBA\u6570", rules: [
}); }) }) })), type === 'grant' && ((0, jsx_runtime_1.jsx)(antd_1.Form.Item, tslib_1.__assign({ label: "\u4EBA\u6570", rules: [
{
required: true,
message: '请选择分享的目标人数',

View File

@ -16,8 +16,8 @@ function composeDomainUrl(domain, url, props) {
if (k.length > 0) {
try {
for (var k_1 = tslib_1.__values(k), k_1_1 = k_1.next(); !k_1_1.done; k_1_1 = k_1.next()) {
Url += Url.includes('?') ? '&' : '?';
var k2 = k_1_1.value;
Url += Url.includes('?') ? '&' : '?';
Url += "".concat(k2, "=").concat(encodeURI(props[k2]));
}
}

View File

@ -16,11 +16,11 @@
"@wangeditor/editor-for-react": "^1.0.4",
"classnames": "^2.3.1",
"dayjs": "^1.11.5",
"oak-common-aspect": "file:../oak-common-aspect",
"oak-domain": "file:../oak-domain",
"oak-external-sdk": "file:../oak-external-sdk",
"oak-frontend-base": "file:../oak-frontend-base",
"oak-memory-tree-store": "file:../oak-memory-tree-store",
"oak-common-aspect": "^2.1.5",
"oak-domain": "^2.4.3",
"oak-external-sdk": "^1.0.8",
"oak-frontend-base": "^2.3.5",
"oak-memory-tree-store": "^2.2.1",
"qr-image": "^3.2.0",
"react-scripts": "^5.0.1",
"sha1": "^1.1.1",