mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-01-31 15:09:26 +08:00
修复bug
This commit is contained in:
parent
c550cf3bf6
commit
479cc6fe0f
@ -6,6 +6,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
|
|||||||
if (!main.replayChecking && main.mode === 'play') {
|
if (!main.replayChecking && main.mode === 'play') {
|
||||||
main.forward();
|
main.forward();
|
||||||
core.resetSettings();
|
core.resetSettings();
|
||||||
|
core.plugin.showMarkedEnemy.value = true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div id="non-ui">
|
<div id="non-ui">
|
||||||
<StatusBar v-if="showStatusBar"></StatusBar>
|
<StatusBar v-if="showStatusBar"></StatusBar>
|
||||||
<MarkedEnemy></MarkedEnemy>
|
<MarkedEnemy v-if="showMarkedEnemy"></MarkedEnemy>
|
||||||
<Chapter v-if="chapterShowed" :chapter="chapterContent"></Chapter>
|
<Chapter v-if="chapterShowed" :chapter="chapterContent"></Chapter>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -13,6 +13,7 @@ import { showStatusBar } from './plugin/uiController';
|
|||||||
import MarkedEnemy from './ui/markedEnemy.vue';
|
import MarkedEnemy from './ui/markedEnemy.vue';
|
||||||
import Chapter from './ui/chapter.vue';
|
import Chapter from './ui/chapter.vue';
|
||||||
import { chapterContent, chapterShowed } from './plugin/ui/chapter';
|
import { chapterContent, chapterShowed } from './plugin/ui/chapter';
|
||||||
|
import { showMarkedEnemy } from './plugin/mark';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
import { reactive, ref } from 'vue';
|
import { reactive, ref } from 'vue';
|
||||||
import { tip } from './utils';
|
import { tip } from './utils';
|
||||||
|
|
||||||
|
export const showMarkedEnemy = ref(false);
|
||||||
|
|
||||||
const markedEnemy = reactive<EnemyIds[]>([]);
|
const markedEnemy = reactive<EnemyIds[]>([]);
|
||||||
|
|
||||||
interface MarkInfo {
|
interface MarkInfo {
|
||||||
@ -133,6 +135,7 @@ export default function init() {
|
|||||||
checkStatus: checkMarkedStatus,
|
checkStatus: checkMarkedStatus,
|
||||||
markEnemy,
|
markEnemy,
|
||||||
hasMarkedEnemy,
|
hasMarkedEnemy,
|
||||||
unmarkEnemy
|
unmarkEnemy,
|
||||||
|
showMarkedEnemy
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user