|
|
|
@ -1,7 +1,7 @@ |
|
|
|
|
<script setup> |
|
|
|
|
import {onBeforeMount, onMounted, reactive, ref, unref, computed} from 'vue'; |
|
|
|
|
import {useStore, mapGetters, mapState} from "vuex"; |
|
|
|
|
import {cinema_list, cinema_search, cinema_user, change_cinema_user} from "@/apis/update.js"; |
|
|
|
|
import {cinema_list, cinema_search, cinema_user, change_cinema_user, write_git_version_to_db} from "@/apis/update.js"; |
|
|
|
|
import CinemaUpdate from "@/components/update/CinemaUpdate.vue"; |
|
|
|
|
|
|
|
|
|
// 注册vuex |
|
|
|
@ -76,6 +76,7 @@ const refresh = (formEL) => { |
|
|
|
|
refresh_disable.value = true; |
|
|
|
|
refresh_loading.value = true; |
|
|
|
|
get_table_data() |
|
|
|
|
update_git_version() |
|
|
|
|
setTimeout(() => { |
|
|
|
|
refresh_disable.value = false; |
|
|
|
|
refresh_loading.value = false; |
|
|
|
@ -83,6 +84,17 @@ const refresh = (formEL) => { |
|
|
|
|
} |
|
|
|
|
// endregion |
|
|
|
|
|
|
|
|
|
// region |
|
|
|
|
const update_git_version = async () => { |
|
|
|
|
await write_git_version_to_db().then(res => { |
|
|
|
|
console.log(res) |
|
|
|
|
}).catch(err => { |
|
|
|
|
console.log(err) |
|
|
|
|
} |
|
|
|
|
) |
|
|
|
|
} |
|
|
|
|
// endregion |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// region 表格数据代码 |
|
|
|
|
// 表格展示的数据 |
|
|
|
|