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