@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/dist/{apply-modal-BcN1RhQi.js → apply-modal-gvLhFEdj.js} +4 -4
- package/dist/{category-selector-BvBV-lpA.js → category-selector-BTzW1HZD.js} +4 -4
- package/dist/{index-CWuyMc3g.js → index--jS5hjon.js} +1 -1
- package/dist/{index-BFByVNRT.js → index-Deb9hDa0.js} +3 -3
- package/dist/index.js +2 -2
- package/dist/{permission-item-AXg2_ddM.js → permission-item-BwYX18tp.js} +4 -4
- package/dist/{yqg-permission-D65t3nRR.js → yqg-permission-C3sGU3v5.js} +34 -38
- package/dist/yqg-permission.umd.js +24 -24
- package/package.json +1 -1
- package/src/components/yqg-permission.vue +1 -8
package/package.json
CHANGED
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
</div>
|
|
64
64
|
|
|
65
65
|
<ApplyModal v-model="open" :permissionList="permissionList" :spining="loading" :workNumber="workNumber"
|
|
66
|
-
|
|
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;
|