File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -318,17 +318,17 @@ export default class PermissionList extends Vue {
318
318
}
319
319
if (this .$data .operations .length == 0 ) {
320
320
this .$data .db .resourceList (' operation' ).then ((response : any ) => {
321
- this .$data .roles = [];
321
+ this .$data .operations = [];
322
322
response .forEach ((element : any ) => {
323
- this .$data .roles .push (element .Operation );
323
+ this .$data .operations .push (element .Operation );
324
324
});
325
325
});
326
326
}
327
327
if (this .$data .objects .length == 0 ) {
328
- this .$data .db .resourceList (' objects ' ).then ((response : any ) => {
329
- this .$data .roles = [];
328
+ this .$data .db .resourceList (' object ' ).then ((response : any ) => {
329
+ this .$data .objects = [];
330
330
response .forEach ((element : any ) => {
331
- this .$data .roles .push (element .Object );
331
+ this .$data .objects .push (element .Object );
332
332
});
333
333
});
334
334
}
You can’t perform that action at this time.
0 commit comments