com-angel-authorization 1.0.33 → 1.0.34

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.
@@ -4521,11 +4521,20 @@ var UserManager = (0, import_vue6.defineComponent)({
4521
4521
  (0, import_vue6.h)("span", { style: s4.required }, "*")
4522
4522
  ]),
4523
4523
  (0, import_vue6.h)("input", {
4524
- style: s4.input,
4524
+ style: {
4525
+ ...s4.input,
4526
+ ...editing.value ? {
4527
+ background: "#f9fafb",
4528
+ color: "#667085",
4529
+ cursor: "not-allowed"
4530
+ } : null
4531
+ },
4525
4532
  value: form.username,
4526
4533
  placeholder: "\u8D26\u53F7\u9700\u5305\u542B\u82F1\u6587\u5B57\u6BCD\uFF0C\u53EF\u642D\u914D\u6570\u5B57\uFF0C\u4E0D\u652F\u6301\u4E2D\u6587\u6216\u7279\u6B8A\u7B26\u53F7\u3002",
4527
4534
  required: true,
4535
+ readOnly: Boolean(editing.value),
4528
4536
  onInput: (e) => {
4537
+ if (editing.value) return;
4529
4538
  form.username = e.target.value;
4530
4539
  }
4531
4540
  })