@airpower/web 0.2.62 → 0.2.64

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.
Files changed (2) hide show
  1. package/dist/main.js +3 -4
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -1192,7 +1192,7 @@ class PermissionUtil {
1192
1192
  * @param permissions 权限列表
1193
1193
  */
1194
1194
  static saveList(permissions) {
1195
- this.permissionList = permissions.map((permission) => permission.toLocaleLowerCase());
1195
+ this.permissionList = permissions;
1196
1196
  localStorage.setItem(WebConfig.permissionCacheKey, JSON.stringify(this.permissionList));
1197
1197
  }
1198
1198
  /**
@@ -1212,7 +1212,7 @@ class PermissionUtil {
1212
1212
  * @param permission 权限标识
1213
1213
  */
1214
1214
  static has(permission) {
1215
- return this.permissionList.includes(permission.toLowerCase());
1215
+ return this.permissionList.includes(permission);
1216
1216
  }
1217
1217
  }
1218
1218
  /**
@@ -17119,7 +17119,6 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
17119
17119
  }, null, 8, ["response", "onChanged"])
17120
17120
  ]),
17121
17121
  default: withCtx(() => [
17122
- createElementVNode("div", null, "选择: " + toDisplayString(unref(selectList)), 1),
17123
17122
  createVNode(unref(_sfc_main$2), {
17124
17123
  "data-list": _ctx.unPaginate || _ctx.treeList ? unref(list) : unref(response).list,
17125
17124
  entity: unref(entity),
@@ -18124,7 +18123,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
18124
18123
  }, [
18125
18124
  !item.hide ? (openBlock(), createElementBlock("div", {
18126
18125
  key: 0,
18127
- style: normalizeStyle({ width: `${item.width || 160}px` }),
18126
+ style: normalizeStyle({ width: `${item.width || 150}px` }),
18128
18127
  class: "a-table-toolbar-search-item"
18129
18128
  }, [
18130
18129
  renderSlot(_ctx.$slots, item.key, { data: searchFilter.value }, () => [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@airpower/web",
3
3
  "type": "module",
4
- "version": "0.2.62",
4
+ "version": "0.2.64",
5
5
  "description": "AirPower-Web",
6
6
  "author": {
7
7
  "name": "Hamm",