|
@@ -42,8 +42,9 @@
|
|
|
</a-space>
|
|
|
</div>
|
|
|
<div class="part-box">
|
|
|
- <a-space v-if="userStore.isAdmin" class="part-action" :size="24">
|
|
|
+ <a-space class="part-action" :size="24">
|
|
|
<a-button
|
|
|
+ v-if="userStore.isAdmin"
|
|
|
type="primary"
|
|
|
status="danger"
|
|
|
:disabled="!selectedKeys.length"
|
|
@@ -52,6 +53,7 @@
|
|
|
>
|
|
|
<!-- <a-button type="primary">上传照片</a-button> -->
|
|
|
<upload-button
|
|
|
+ v-if="userStore.isAdmin"
|
|
|
upload-url="/api/admin/student/upload/photo"
|
|
|
btn-text="上传照片"
|
|
|
accept=".png,.jpg,.jpeg"
|