Commit e9c2dd1d authored by liujiangnan's avatar liujiangnan

feat: 锁定页面

parent 0d5b7a31
......@@ -272,7 +272,8 @@
:current-page.sync="currentPageIndex"
:page-size="1"
layout="prev, pager, next"
:total="pages.length">
:total="pages.length"
:disabled="isPageLocked">
</el-pagination>
</div>
......@@ -298,6 +299,14 @@
:disabled="audioLoading"
style="width: 200px; margin-left: 20px;">
</el-slider>
<el-button
size="small"
:type="isPageLocked ? 'danger' : 'primary'"
@click="togglePageLock"
style="margin-left: 20px;">
<i :class="isPageLocked ? 'el-icon-lock' : 'el-icon-unlock'"></i>
{{ isPageLocked ? '解锁页面' : '锁定页面' }}
</el-button>
</div>
</div>
</el-card>
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment