|
@@ -30,7 +30,7 @@ export default {
|
|
|
await this.search();
|
|
|
},
|
|
|
methods: {
|
|
|
- ...adminLogin(['query', 'fetch', 'update', 'delete']),
|
|
|
+ ...adminLogin(['query', 'fetch', 'update', 'delete', 'create']),
|
|
|
async search() {
|
|
|
let res = await this.query({ role: '1' });
|
|
|
if (this.$checkRes(res)) {
|