@yqg/permission 1.3.0-alpha.7 → 1.3.0-alpha.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yqg/permission",
3
- "version": "1.3.0-alpha.7",
3
+ "version": "1.3.0-alpha.8",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "type": "module",
@@ -63,7 +63,7 @@
63
63
  </div>
64
64
 
65
65
  <ApplyModal v-model="open" :permissionList="permissionList" :spining="loading" :workNumber="workNumber"
66
- :businessCode="businessCode" @onSuccess="() => emit('onSuccess')" @onSubmit="getPermissions">
66
+ @onSuccess="() => emit('onSuccess')" @onSubmit="getPermissions">
67
67
  </ApplyModal>
68
68
 
69
69
  </ConfigProvider>
@@ -144,13 +144,6 @@ import useFormat from '../hooks/useFormat';
144
144
  return props.permissions?.split(',')?.filter((item) => item.trim()) || [];
145
145
  });
146
146
 
147
- const businessCode = computed(() => {
148
- const code = allPermissions.value[0] || '';
149
- if (!code) return '';
150
-
151
- return code.split('.')[0];
152
- })
153
-
154
147
  const goViewApproval = () => {
155
148
  const url = curApproving.value?.oaFlowUrl;
156
149
  if (!url) return;