com-angel-authorization 1.0.31 → 1.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/react/index.cjs +16 -7
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.js +16 -7
- package/dist/react/index.js.map +1 -1
- package/dist/vue/index.cjs +16 -11
- package/dist/vue/index.cjs.map +1 -1
- package/dist/vue/index.js +16 -11
- package/dist/vue/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -472,7 +472,7 @@ export function Page() {
|
|
|
472
472
|
|------|------|
|
|
473
473
|
| username | 账号:需包含英文字母,可搭配数字,不支持中文或特殊符号;长度大于 1 |
|
|
474
474
|
| name | 用户名 |
|
|
475
|
-
| password |
|
|
475
|
+
| password | 初始密码(仅新增时填写;编辑请用「重置密码」) |
|
|
476
476
|
| groupIds | 归属部门,必填;点击后才请求 `/system/groups` 展开多选 |
|
|
477
477
|
| roleIds | 用户角色,多选(`/system/roles`) |
|
|
478
478
|
| enabled | 是否启用(boolean,Switch,靠左) |
|
package/dist/react/index.cjs
CHANGED
|
@@ -3617,7 +3617,10 @@ function UserManager({
|
|
|
3617
3617
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("form", { style: styles4.form, onSubmit: (e) => void handleSubmit(e), children: [
|
|
3618
3618
|
formError ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { style: styles4.error, children: formError }) : null,
|
|
3619
3619
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("label", { style: styles4.field, children: [
|
|
3620
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.
|
|
3620
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { style: styles4.label, children: [
|
|
3621
|
+
"\u8D26\u53F7 ",
|
|
3622
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { style: styles4.required, children: "*" })
|
|
3623
|
+
] }),
|
|
3621
3624
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
3622
3625
|
"input",
|
|
3623
3626
|
{
|
|
@@ -3630,7 +3633,10 @@ function UserManager({
|
|
|
3630
3633
|
)
|
|
3631
3634
|
] }),
|
|
3632
3635
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("label", { style: styles4.field, children: [
|
|
3633
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.
|
|
3636
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { style: styles4.label, children: [
|
|
3637
|
+
"\u7528\u6237\u540D ",
|
|
3638
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { style: styles4.required, children: "*" })
|
|
3639
|
+
] }),
|
|
3634
3640
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
3635
3641
|
"input",
|
|
3636
3642
|
{
|
|
@@ -3642,8 +3648,11 @@ function UserManager({
|
|
|
3642
3648
|
}
|
|
3643
3649
|
)
|
|
3644
3650
|
] }),
|
|
3645
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("label", { style: styles4.field, children: [
|
|
3646
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.
|
|
3651
|
+
!editing ? /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("label", { style: styles4.field, children: [
|
|
3652
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { style: styles4.label, children: [
|
|
3653
|
+
"\u521D\u59CB\u5BC6\u7801 ",
|
|
3654
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { style: styles4.required, children: "*" })
|
|
3655
|
+
] }),
|
|
3647
3656
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
3648
3657
|
"input",
|
|
3649
3658
|
{
|
|
@@ -3651,12 +3660,12 @@ function UserManager({
|
|
|
3651
3660
|
type: "password",
|
|
3652
3661
|
value: form.password,
|
|
3653
3662
|
onChange: (e) => setForm((prev) => ({ ...prev, password: e.target.value })),
|
|
3654
|
-
placeholder:
|
|
3655
|
-
required:
|
|
3663
|
+
placeholder: "\u8BF7\u8F93\u5165\u521D\u59CB\u5BC6\u7801",
|
|
3664
|
+
required: true,
|
|
3656
3665
|
autoComplete: "new-password"
|
|
3657
3666
|
}
|
|
3658
3667
|
)
|
|
3659
|
-
] }),
|
|
3668
|
+
] }) : null,
|
|
3660
3669
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("fieldset", { style: styles4.fieldset, children: [
|
|
3661
3670
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("legend", { style: styles4.label, children: [
|
|
3662
3671
|
"\u5F52\u5C5E\u90E8\u95E8 ",
|