适配一个小的front的改动

This commit is contained in:
Xu Chang 2023-08-23 12:12:27 +08:00
parent bee2231298
commit 5be42ef84c
4 changed files with 37 additions and 154 deletions

View File

@ -80,7 +80,6 @@ exports.default = OakComponent({
return [3 /*break*/, 3];
case 2:
this.clean();
this.unsetId();
_a.label = 3;
case 3:
this.setState({

View File

@ -18,7 +18,7 @@ var i18ns = [
}
},
{
id: "e4d09f64c5d4d4218d56c253dc3d59ee",
id: "a85ac2eff2d138152ef083e37c2b366c",
namespace: "oak-general-business-p-paper-detail",
language: "zh-CN",
module: "oak-general-business",
@ -28,7 +28,7 @@ var i18ns = [
}
},
{
id: "a6ce9ec7ba519326a8c2cab09b1ced9b",
id: "e3c5e1767a1ad30ddf15adeb43a5fbab",
namespace: "oak-general-business-p-paper-list",
language: "zh-CN",
module: "oak-general-business",
@ -40,7 +40,7 @@ var i18ns = [
}
},
{
id: "4f4219196fff9022b13d76ad3ea1eeec",
id: "99445bede532d740b807f2eda058daac",
namespace: "oak-general-business-p-paper-preview",
language: "zh-CN",
module: "oak-general-business",
@ -50,7 +50,7 @@ var i18ns = [
}
},
{
id: "5554f702229f815805bda1840d6b339b",
id: "65186dcd507e2a8b0bfe0f6f8e9e98e4",
namespace: "oak-general-business-p-paper-upsert",
language: "zh-CN",
module: "oak-general-business",
@ -70,7 +70,7 @@ var i18ns = [
}
},
{
id: "ec290f3786755108eb9282414ee549b6",
id: "2a0f8b18e08c3f7b82353d16b6ba4651",
namespace: "oak-general-business-p-token-me",
language: "zh-CN",
module: "oak-general-business",
@ -81,7 +81,7 @@ var i18ns = [
}
},
{
id: "6d4c32af0d53a57033b31d37b8eff1ed",
id: "b40594f173c7c593719746c2f63ca126",
namespace: "oak-general-business-p-user-info",
language: "zh-CN",
module: "oak-general-business",
@ -104,7 +104,7 @@ var i18ns = [
}
},
{
id: "dd7bf7361f630ae8cc90f65bc33b8662",
id: "75a707a016ee5fc0574e16507270753d",
namespace: "oak-general-business-p-user-manage-detail",
language: "zh-CN",
module: "oak-general-business",
@ -115,65 +115,7 @@ var i18ns = [
}
},
{
id: "6528a94c33e1aa46aabd578a7222877a",
namespace: "oak-general-business-p-userRelation-list",
language: "zh-CN",
module: "oak-general-business",
position: "src/pages/userRelation/list",
data: {
"confirmRevokeAll": "确认删除用户的所有权限吗?",
"search": "搜索用户名"
}
},
{
id: "dbcbdc87418b58632e646b053968f99c",
namespace: "oak-general-business-p-userRelation-upsert-byMobile",
language: "zh-CN",
module: "oak-general-business",
position: "src/pages/userRelation/upsert/byMobile",
data: {
"inputMobile": "请输入手机号查找"
}
},
{
id: "c007ed3c3ee704eb24ae3303af0eb64e",
namespace: "oak-general-business-p-userRelation-upsert-byUserEntityGrant",
language: "zh-CN",
module: "oak-general-business",
position: "src/pages/userRelation/upsert/byUserEntityGrant",
data: {
"single": "单次",
"unlimited": "不限",
"restart": "重新生成",
"chooseNumber": "请选择分享的目标人数",
"chooseExpiresAt": "请选择有效时长",
"expiresHelp": "支持分钟、小时选择",
"shareCode": "请将二维码发给待分享权限的用户使用微信扫描",
"unit": {
"hour": "小时",
"minute": "分钟"
}
}
},
{
id: "b6ca5c32944603de336ebec4c402f28d",
namespace: "oak-general-business-p-userRelation-upsert-onUser",
language: "zh-CN",
module: "oak-general-business",
position: "src/pages/userRelation/upsert/onUser",
data: {
"placeholder": {
"name": "请输入姓名",
"password": "密码不少于8位",
"relation": "至少应选择一个权限"
},
"auth": "权限",
"existedUser": "现有用户",
"newUser": "新建用户"
}
},
{
id: "b39143cdead5b9d1def6790bd374f0dd",
id: "d790bd454c420a031bbde799c83bbe71",
namespace: "oak-general-business-c-common-qrCode",
language: "zh-CN",
module: "oak-general-business",
@ -184,7 +126,7 @@ var i18ns = [
}
},
{
id: "a46bf8e5a220d1fc8cdeb25a769e41e6",
id: "5c2e6feed554bc476664f2a80e09677b",
namespace: "oak-general-business-c-extraFile-forUrl",
language: "zh-CN",
module: "oak-general-business",
@ -198,7 +140,7 @@ var i18ns = [
}
},
{
id: "939c04e984bac15864c2541cf2123123",
id: "acdf0445bef1374155f23a9c59e6dd40",
namespace: "oak-general-business-c-extraFile-gallery",
language: "zh-CN",
module: "oak-general-business",
@ -210,7 +152,7 @@ var i18ns = [
}
},
{
id: "1fa5619676df365c0aaee6645e3c5ef1",
id: "7ab2802526051f5926338d25cf7f3824",
namespace: "oak-general-business-c-my-info",
language: "zh-CN",
module: "oak-general-business",
@ -224,7 +166,7 @@ var i18ns = [
}
},
{
id: "bedcb9dbb3de06b80b582507b21b470d",
id: "31967b6cdd8488887e7d2f39fe166458",
namespace: "oak-general-business-c-user-login",
language: "zh-CN",
module: "oak-general-business",
@ -245,7 +187,7 @@ var i18ns = [
}
},
{
id: "0637e049611c35325530219085fd9acb",
id: "24dd3b76e3461bdc74adc6e6d40c5091",
namespace: "oak-general-business-c-userRelation-list",
language: "zh-CN",
module: "oak-general-business",
@ -256,7 +198,7 @@ var i18ns = [
}
},
{
id: "2e6bf38a80fd7e5f42e22a4cc8f0303f",
id: "ac10f5eca5efaddcd42b5c94e9cda34e",
namespace: "oak-general-business-c-userRelation-upsert-byMobile",
language: "zh-CN",
module: "oak-general-business",
@ -266,7 +208,7 @@ var i18ns = [
}
},
{
id: "c9a343e53c3768d1b66d320370260beb",
id: "2ae0261640d791c7dcc61d71bec70788",
namespace: "oak-general-business-c-userRelation-upsert-byUserEntityGrant",
language: "zh-CN",
module: "oak-general-business",
@ -286,7 +228,7 @@ var i18ns = [
}
},
{
id: "557e5ea860a6f3a536628c31de841462",
id: "724a46f659f9bfa42239b79e59761f0e",
namespace: "oak-general-business-c-userRelation-upsert-onUser",
language: "zh-CN",
module: "oak-general-business",
@ -303,7 +245,7 @@ var i18ns = [
}
},
{
id: "c636a9f371fc6da432ca925f3b865071",
id: "ce2ef5c2ef3c6b4bf1682c5610f0da28",
namespace: "oak-general-business-c-wechatUser-unbindBtn",
language: "zh-CN",
module: "oak-general-business",
@ -314,7 +256,7 @@ var i18ns = [
}
},
{
id: "bcef8b0d14c15026960f496b9aa08e7f",
id: "65801f60e3c6d0197f2f0a44a794ccf7",
namespace: "oak-general-business-l-common",
language: "zh-CN",
module: "oak-general-business",

View File

@ -75,7 +75,7 @@ export default OakComponent({
}
else {
this.clean();
this.unsetId();
// this.unsetId();
}
this.setState({
mobileValueReady,

View File

@ -18,7 +18,7 @@ const i18ns: I18n[] = [
}
},
{
id: "e4d09f64c5d4d4218d56c253dc3d59ee",
id: "a85ac2eff2d138152ef083e37c2b366c",
namespace: "oak-general-business-p-paper-detail",
language: "zh-CN",
module: "oak-general-business",
@ -28,7 +28,7 @@ const i18ns: I18n[] = [
}
},
{
id: "a6ce9ec7ba519326a8c2cab09b1ced9b",
id: "e3c5e1767a1ad30ddf15adeb43a5fbab",
namespace: "oak-general-business-p-paper-list",
language: "zh-CN",
module: "oak-general-business",
@ -40,7 +40,7 @@ const i18ns: I18n[] = [
}
},
{
id: "4f4219196fff9022b13d76ad3ea1eeec",
id: "99445bede532d740b807f2eda058daac",
namespace: "oak-general-business-p-paper-preview",
language: "zh-CN",
module: "oak-general-business",
@ -50,7 +50,7 @@ const i18ns: I18n[] = [
}
},
{
id: "5554f702229f815805bda1840d6b339b",
id: "65186dcd507e2a8b0bfe0f6f8e9e98e4",
namespace: "oak-general-business-p-paper-upsert",
language: "zh-CN",
module: "oak-general-business",
@ -70,7 +70,7 @@ const i18ns: I18n[] = [
}
},
{
id: "ec290f3786755108eb9282414ee549b6",
id: "2a0f8b18e08c3f7b82353d16b6ba4651",
namespace: "oak-general-business-p-token-me",
language: "zh-CN",
module: "oak-general-business",
@ -81,7 +81,7 @@ const i18ns: I18n[] = [
}
},
{
id: "6d4c32af0d53a57033b31d37b8eff1ed",
id: "b40594f173c7c593719746c2f63ca126",
namespace: "oak-general-business-p-user-info",
language: "zh-CN",
module: "oak-general-business",
@ -104,7 +104,7 @@ const i18ns: I18n[] = [
}
},
{
id: "dd7bf7361f630ae8cc90f65bc33b8662",
id: "75a707a016ee5fc0574e16507270753d",
namespace: "oak-general-business-p-user-manage-detail",
language: "zh-CN",
module: "oak-general-business",
@ -115,65 +115,7 @@ const i18ns: I18n[] = [
}
},
{
id: "6528a94c33e1aa46aabd578a7222877a",
namespace: "oak-general-business-p-userRelation-list",
language: "zh-CN",
module: "oak-general-business",
position: "src/pages/userRelation/list",
data: {
"confirmRevokeAll": "确认删除用户的所有权限吗?",
"search": "搜索用户名"
}
},
{
id: "dbcbdc87418b58632e646b053968f99c",
namespace: "oak-general-business-p-userRelation-upsert-byMobile",
language: "zh-CN",
module: "oak-general-business",
position: "src/pages/userRelation/upsert/byMobile",
data: {
"inputMobile": "请输入手机号查找"
}
},
{
id: "c007ed3c3ee704eb24ae3303af0eb64e",
namespace: "oak-general-business-p-userRelation-upsert-byUserEntityGrant",
language: "zh-CN",
module: "oak-general-business",
position: "src/pages/userRelation/upsert/byUserEntityGrant",
data: {
"single": "单次",
"unlimited": "不限",
"restart": "重新生成",
"chooseNumber": "请选择分享的目标人数",
"chooseExpiresAt": "请选择有效时长",
"expiresHelp": "支持分钟、小时选择",
"shareCode": "请将二维码发给待分享权限的用户使用微信扫描",
"unit": {
"hour": "小时",
"minute": "分钟"
}
}
},
{
id: "b6ca5c32944603de336ebec4c402f28d",
namespace: "oak-general-business-p-userRelation-upsert-onUser",
language: "zh-CN",
module: "oak-general-business",
position: "src/pages/userRelation/upsert/onUser",
data: {
"placeholder": {
"name": "请输入姓名",
"password": "密码不少于8位",
"relation": "至少应选择一个权限"
},
"auth": "权限",
"existedUser": "现有用户",
"newUser": "新建用户"
}
},
{
id: "b39143cdead5b9d1def6790bd374f0dd",
id: "d790bd454c420a031bbde799c83bbe71",
namespace: "oak-general-business-c-common-qrCode",
language: "zh-CN",
module: "oak-general-business",
@ -184,7 +126,7 @@ const i18ns: I18n[] = [
}
},
{
id: "a46bf8e5a220d1fc8cdeb25a769e41e6",
id: "5c2e6feed554bc476664f2a80e09677b",
namespace: "oak-general-business-c-extraFile-forUrl",
language: "zh-CN",
module: "oak-general-business",
@ -198,7 +140,7 @@ const i18ns: I18n[] = [
}
},
{
id: "939c04e984bac15864c2541cf2123123",
id: "acdf0445bef1374155f23a9c59e6dd40",
namespace: "oak-general-business-c-extraFile-gallery",
language: "zh-CN",
module: "oak-general-business",
@ -210,7 +152,7 @@ const i18ns: I18n[] = [
}
},
{
id: "1fa5619676df365c0aaee6645e3c5ef1",
id: "7ab2802526051f5926338d25cf7f3824",
namespace: "oak-general-business-c-my-info",
language: "zh-CN",
module: "oak-general-business",
@ -224,7 +166,7 @@ const i18ns: I18n[] = [
}
},
{
id: "bedcb9dbb3de06b80b582507b21b470d",
id: "31967b6cdd8488887e7d2f39fe166458",
namespace: "oak-general-business-c-user-login",
language: "zh-CN",
module: "oak-general-business",
@ -245,7 +187,7 @@ const i18ns: I18n[] = [
}
},
{
id: "0637e049611c35325530219085fd9acb",
id: "24dd3b76e3461bdc74adc6e6d40c5091",
namespace: "oak-general-business-c-userRelation-list",
language: "zh-CN",
module: "oak-general-business",
@ -256,7 +198,7 @@ const i18ns: I18n[] = [
}
},
{
id: "2e6bf38a80fd7e5f42e22a4cc8f0303f",
id: "ac10f5eca5efaddcd42b5c94e9cda34e",
namespace: "oak-general-business-c-userRelation-upsert-byMobile",
language: "zh-CN",
module: "oak-general-business",
@ -266,7 +208,7 @@ const i18ns: I18n[] = [
}
},
{
id: "c9a343e53c3768d1b66d320370260beb",
id: "2ae0261640d791c7dcc61d71bec70788",
namespace: "oak-general-business-c-userRelation-upsert-byUserEntityGrant",
language: "zh-CN",
module: "oak-general-business",
@ -286,7 +228,7 @@ const i18ns: I18n[] = [
}
},
{
id: "557e5ea860a6f3a536628c31de841462",
id: "724a46f659f9bfa42239b79e59761f0e",
namespace: "oak-general-business-c-userRelation-upsert-onUser",
language: "zh-CN",
module: "oak-general-business",
@ -303,7 +245,7 @@ const i18ns: I18n[] = [
}
},
{
id: "c636a9f371fc6da432ca925f3b865071",
id: "ce2ef5c2ef3c6b4bf1682c5610f0da28",
namespace: "oak-general-business-c-wechatUser-unbindBtn",
language: "zh-CN",
module: "oak-general-business",
@ -314,7 +256,7 @@ const i18ns: I18n[] = [
}
},
{
id: "bcef8b0d14c15026960f496b9aa08e7f",
id: "65801f60e3c6d0197f2f0a44a794ccf7",
namespace: "oak-general-business-l-common",
language: "zh-CN",
module: "oak-general-business",