mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-19 15:56:47 +08:00
-- fix bug
This commit is contained in:
@@ -321,7 +321,7 @@
|
|||||||
|
|
||||||
<div class="footbtn">
|
<div class="footbtn">
|
||||||
<div class="btnbox">
|
<div class="btnbox">
|
||||||
<a-button class="btn btn2" @click="temporaryStorage" :loading="templateLoading">暂存</a-button>
|
<a-button class="btn btn2" @click="temporaryStorage" :loading="confirmLoading">暂存</a-button>
|
||||||
<a-button class="btn btn2" @click="submitStorage" :loading="confirmLoading">确定</a-button>
|
<a-button class="btn btn2" @click="submitStorage" :loading="confirmLoading">确定</a-button>
|
||||||
<a-button class="btn btn1" @click="cancelStorage" :loading="cancleLoading">取消</a-button>
|
<a-button class="btn btn1" @click="cancelStorage" :loading="cancleLoading">取消</a-button>
|
||||||
</div>
|
</div>
|
||||||
@@ -376,7 +376,6 @@ const {query: {routerId}} = useRoute();
|
|||||||
const modal = ref(false)
|
const modal = ref(false)
|
||||||
const visiblene = ref(false)
|
const visiblene = ref(false)
|
||||||
const cancleLoading = ref(false)
|
const cancleLoading = ref(false)
|
||||||
const templateLoading = ref(false)
|
|
||||||
const confirmLoading = ref(false)
|
const confirmLoading = ref(false)
|
||||||
const moveChapterIndex = ref('')
|
const moveChapterIndex = ref('')
|
||||||
const activeIndex = ref(0)
|
const activeIndex = ref(0)
|
||||||
@@ -526,12 +525,11 @@ const closeChangeModal = () => {
|
|||||||
|
|
||||||
//暂存
|
//暂存
|
||||||
const temporaryStorage = async () => {
|
const temporaryStorage = async () => {
|
||||||
// debugger
|
confirmLoading.value = true
|
||||||
templateLoading.value = true
|
|
||||||
await request(ROUTER_DETAIL_MODIFY, routerInfo.value)
|
await request(ROUTER_DETAIL_MODIFY, routerInfo.value)
|
||||||
await getDetail()
|
await getDetail()
|
||||||
message.success("暂存成功");
|
message.success("暂存成功");
|
||||||
templateLoading.value = false
|
confirmLoading.value = false
|
||||||
};
|
};
|
||||||
|
|
||||||
const submitStorage = async () => {
|
const submitStorage = async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user