mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-03 10:14:34 +08:00
修复bug
This commit is contained in:
1 parent
c550cf3bf6
commit
479cc6fe0f
3 files changed
+7
-2
No files matched your search
+2
-1
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div id="non-ui">
|
||||
<StatusBar v-if="showStatusBar"></StatusBar>
|
||||
<MarkedEnemy></MarkedEnemy>
|
||||
<MarkedEnemy v-if="showMarkedEnemy"></MarkedEnemy>
|
||||
<Chapter v-if="chapterShowed" :chapter="chapterContent"></Chapter>
|
||||
</div>
|
||||
</template>
|
||||
@@ -13,6 +13,7 @@ import { showStatusBar } from './plugin/uiController';
|
||||
import MarkedEnemy from './ui/markedEnemy.vue';
|
||||
import Chapter from './ui/chapter.vue';
|
||||
import { chapterContent, chapterShowed } from './plugin/ui/chapter';
|
||||
import { showMarkedEnemy } from './plugin/mark';
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
|
||||
+4
-1
@@ -1,6 +1,8 @@
|
||||
import { reactive, ref } from 'vue';
|
||||
import { tip } from './utils';
|
||||
|
||||
export const showMarkedEnemy = ref(false);
|
||||
|
||||
const markedEnemy = reactive<EnemyIds[]>([]);
|
||||
|
||||
interface MarkInfo {
|
||||
@@ -133,6 +135,7 @@ export default function init() {
|
||||
checkStatus: checkMarkedStatus,
|
||||
markEnemy,
|
||||
hasMarkedEnemy,
|
||||
unmarkEnemy
|
||||
unmarkEnemy,
|
||||
showMarkedEnemy
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user