-- fix bug

This commit is contained in:
yuping
2023-02-25 01:25:01 +08:00
parent fc19c0132e
commit d34189fd7e
2 changed files with 11 additions and 12 deletions

View File

@@ -154,8 +154,7 @@
<div class="lin"></div>
</div>
</div>
<div class="boom"
:style="{ minHeight: routerInfo?.chapterList[activeIndex]?.draftTaskList?.length > 6 ? ((routerInfo?.chapterList[activeIndex]?.draftTaskList?.length - 6) * 106 + 512) + 'px' : 512 + 'px' }">
<div class="boom">
<div class="boomcen">
<div class="title">
<div class="tit_left">
@@ -1292,7 +1291,9 @@ const cancelStorage = async () => {
display: flex;
align-items: center;
flex-wrap: wrap;
position: sticky;
top:0;
z-index: 999;
.item {
height: 115px;
// width: 7.7%;

View File

@@ -281,7 +281,9 @@
<a-button class="btn btn1" @click="cancelStorage" :loading="cancleLoading">取消</a-button>
</div>
</div>
<div><div style="height:80px;width:100%;" /></div>
<div>
<div style="height:80px;width:100%;"/>
</div>
<!-- 添加阶段弹窗 -->
<a-modal v-model:visible="stage" :title="null" @ok="closeModal" :footer="null" :closable="false"
wrapClassName="addstage" width="624px" height="388px" :centered="true" @cancel="closeModal">
@@ -389,7 +391,7 @@
</template>
<script setup>
import {computed, onMounted, onUnmounted, ref, watch,} from "vue";
import {computed, onMounted, ref, watch,} from "vue";
import {message} from "ant-design-vue";
import * as api from "../../api/indexTaskadd";
import UnlockMode from "../../components/drawers/UnlockMode.vue";
@@ -544,15 +546,8 @@ const deleteStage = () => {
});
};
onMounted(() => {
document.getElementsByTagName("main")[0].style.background = "rgb(245, 247, 250,1)";
document.getElementsByTagName("main")[0].style.boxShadow = "none";
getTask();
});
onUnmounted(() => {
document.getElementsByTagName("main")[0].style.background = "#ffffff";
document.getElementsByTagName("main")[0].style.boxShadow = "0px 1px 35px 0px rgba(118, 136, 166, 0.07)";
});
// 删除所有阶段
const removeAllLevel = () => {
dialog({
@@ -1286,6 +1281,9 @@ const cancelStorage = async () => {
display: flex;
align-items: center;
flex-wrap: wrap;
position: sticky;
top: 0;
z-index: 999;
.item {
height: 115px;