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.
package/dist/vue/index.js CHANGED
@@ -4461,11 +4461,20 @@ var UserManager = defineComponent5({
4461
4461
  h4("span", { style: s4.required }, "*")
4462
4462
  ]),
4463
4463
  h4("input", {
4464
- style: s4.input,
4464
+ style: {
4465
+ ...s4.input,
4466
+ ...editing.value ? {
4467
+ background: "#f9fafb",
4468
+ color: "#667085",
4469
+ cursor: "not-allowed"
4470
+ } : null
4471
+ },
4465
4472
  value: form.username,
4466
4473
  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",
4467
4474
  required: true,
4475
+ readOnly: Boolean(editing.value),
4468
4476
  onInput: (e) => {
4477
+ if (editing.value) return;
4469
4478
  form.username = e.target.value;
4470
4479
  }
4471
4480
  })