Browse Source

分配数大于0才判断

Michael Wang 4 years ago
parent
commit
bbb00ac7e1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/features/mark/MarkHeader.vue

+ 1 - 0
src/features/mark/MarkHeader.vue

@@ -382,6 +382,7 @@ export default defineComponent({
     watchEffect(() => {
     watchEffect(() => {
       if (
       if (
         isNumber(store.setting.topCount) &&
         isNumber(store.setting.topCount) &&
+        store.setting.topCount > 0 &&
         store.setting.topCount === store.status.personCount
         store.setting.topCount === store.status.personCount
       ) {
       ) {
         Modal.confirm({
         Modal.confirm({