@newview/base-vue 1.3.0 → 1.3.1

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/base-vue.js CHANGED
@@ -112,7 +112,9 @@ class OtherCommon {
112
112
  "IMPORT",
113
113
  "EXPORT",
114
114
  "COPY",
115
- "SEND"
115
+ "SEND",
116
+ "recall",
117
+ "revoke"
116
118
  ]);
117
119
  /**
118
120
  * 按钮权限显隐控制
@@ -131,6 +133,9 @@ class OtherCommon {
131
133
  if (permissionCodes.findIndex((e) => e == code) < 0) {
132
134
  return true;
133
135
  }
136
+ if (window["PermissionOperateEmptyType"] && window["PermissionOperateEmptyType"] == 2 && this.getCurrentModuleOp().length == 0) {
137
+ return true;
138
+ }
134
139
  let index = this.getCurrentModuleOp().findIndex((e) => e.toUpperCase() == code);
135
140
  if (index > -1) {
136
141
  return true;