|
|
@@ -169,7 +169,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts" setup name="BotAs">
|
|
|
-import { ref, reactive, getCurrentInstance, onActivated, onDeactivated } from "vue";
|
|
|
+import { ref, reactive, getCurrentInstance, onActivated, onDeactivated, onUnmounted } from "vue";
|
|
|
import BatchUpdate from "./components/BatchUpdate.vue";
|
|
|
import Update from "./components/Update.vue";
|
|
|
import Transfers from "./components/Transfers.vue";
|
|
|
@@ -264,7 +264,7 @@ const getPageInfo = (isSearch?: boolean, isRefresh?: boolean) => {
|
|
|
pageConfig.requestLoading = false;
|
|
|
}
|
|
|
if (pageConfig.requestLoading) return;
|
|
|
-
|
|
|
+
|
|
|
pageConfig.requestLoading = true;
|
|
|
pageConfig.loading = true && !isRefresh;
|
|
|
get_as_robot_list(pageParams, (data: any) => {
|
|
|
@@ -476,6 +476,10 @@ onDeactivated(() => {
|
|
|
document.title = "4L CAPITAL";
|
|
|
closeInterval();
|
|
|
});
|
|
|
+onUnmounted(() => {
|
|
|
+ document.title = "4L CAPITAL";
|
|
|
+ closeInterval();
|
|
|
+});
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|