Skip to content

Commit

Permalink
feat(scan): loader spinner while scan
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Dec 29, 2020
1 parent 1de2f51 commit 251bc88
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pages/scan.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@
</el-form-item>

<el-form-item label="Max depth">
<el-input-number v-model="form.depth" :min="1" :max="100"></el-input-number>
<el-input-number v-model="form.depth" :min="1" :max="100" @keydown.enter.native="sendTask"></el-input-number>
</el-form-item>

<el-form-item label="Max requests">
<el-input-number v-model="form.maxRequests" :min="0"></el-input-number>
<el-input-number v-model="form.maxRequests" :min="0" @keydown.enter.native.prevent="sendTask"></el-input-number>
</el-form-item>

<el-form-item label="Ignore robots.txt">
Expand Down Expand Up @@ -90,6 +90,7 @@
<div class="scan__current">
<!-- {{ currentScanPage }} / {{ currentScanQueue }} -->
<el-progress :percentage="currentScanPercent" :format="showCurrentScan"></el-progress>
<i v-if="currentScanPage" class="el-icon-loading"></i>
</div>

</el-row>
Expand Down

0 comments on commit 251bc88

Please sign in to comment.