@airpower/web 0.2.63 → 0.2.65

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/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
  /**
@@ -18123,7 +18123,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
18123
18123
  }, [
18124
18124
  !item.hide ? (openBlock(), createElementBlock("div", {
18125
18125
  key: 0,
18126
- style: normalizeStyle({ width: `${item.width || 160}px` }),
18126
+ style: normalizeStyle({ width: `${item.width || 150}px` }),
18127
18127
  class: "a-table-toolbar-search-item"
18128
18128
  }, [
18129
18129
  renderSlot(_ctx.$slots, item.key, { data: searchFilter.value }, () => [
package/dist/web.css CHANGED
@@ -1306,11 +1306,8 @@ textarea {
1306
1306
  align-items: flex-start;
1307
1307
  margin-bottom: 10px;
1308
1308
  }
1309
- .a-table-container .a-table-toolbar .a-table-toolbar-left {
1310
- flex: 1;
1311
- }
1312
1309
  .a-table-container .a-table-toolbar .a-table-toolbar-left .el-button + .el-button {
1313
- margin-left: 5px;
1310
+ margin-left: 0px;
1314
1311
  }
1315
1312
  .a-table-container .a-table-toolbar .a-table-toolbar-right {
1316
1313
  flex: 1;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@airpower/web",
3
3
  "type": "module",
4
- "version": "0.2.63",
4
+ "version": "0.2.65",
5
5
  "description": "AirPower-Web",
6
6
  "author": {
7
7
  "name": "Hamm",