门诊号码管理修改关闭给予保存提示
This commit is contained in:
@@ -189,7 +189,7 @@
|
||||
</template>
|
||||
|
||||
<script setup name="Index">
|
||||
import { ref, onMounted } from 'vue';
|
||||
import { ref, onMounted, onActivated } from 'vue';
|
||||
import { useRouter } from 'vue-router';
|
||||
import Chart from 'chart.js/auto';
|
||||
import {
|
||||
@@ -214,6 +214,10 @@ function getExpirationWarningCount() {
|
||||
|
||||
let chartInstance = null;
|
||||
|
||||
onActivated(() => {
|
||||
getExpirationWarningCount();
|
||||
})
|
||||
|
||||
onMounted(() => {
|
||||
getExpirationWarningCount();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user