feat(docs): 解除 archived-components 注释并创建 scheduled-tasks 组件

- 解锁 29 个归档组件 (Project Architecture, Rate Limiting, Search Engines, File Storage, Async Task Queues, Scheduled Tasks, Computer Fundamentals)
- 修复 RateLimitAlgorithmDemo build 卡住问题 (移除末尾 reset() 调用)
- 修复 RuntimeEnvironmentDemo eval 安全警告
- 添加 Vite build chunkSizeWarningLimit 配置
- 添加 Vue 组件开发规范文档 (VUE_COMPONENT_RULES.md)
This commit is contained in:
sanbuphy
2026-02-26 23:57:18 +08:00
parent 8bac413237
commit e7b3fa8001
13 changed files with 979 additions and 63 deletions
@@ -68,7 +68,7 @@
</template>
<script setup>
import { ref, computed } from 'vue'
import { ref, computed, onUnmounted } from 'vue'
const algo = ref('token')
const passed = ref(0)
@@ -172,7 +172,10 @@ function burstRequests() {
}
}
reset()
onUnmounted(() => {
if (tokenTimer) clearInterval(tokenTimer)
if (leakyTimer) clearInterval(leakyTimer)
})
</script>
<style scoped>