{% raw %}

Interactive Checklist Pro

基本信息

清单内容

实时预览 (Export Preview)
{{ checklist.author || 'Author Name' }}

{{ checklist.title || 'Checklist Title' }}

{{ checklist.description }}

进度 0% 0/{{ totalItems }}

{{ group.title || 'Untitled Group' }}

{{ item.text || 'Item text' }}
{{ item.note }}
Resource Link
暂无内容,请在左侧添加
Powered by Interactive Checklist Pro
{% endraw %} const file = e.target.files[0]; if (!file) return; const reader = new FileReader(); reader.readAsText(file, 'UTF-8'); reader.onload = readerEvent => { try { const content = readerEvent.target.result; checklist.value = JSON.parse(content); } catch (e) { alert('Invalid JSON file'); } } } input.click(); }; const clearStorage = () => { if(confirm('确定要清空本地缓存并重置为默认值吗?此操作无法撤销。')) { localStorage.removeItem('checklist_pro_draft'); location.reload(); } }; return { checklist, themeColors, currentThemeClass, currentThemeTextClass, totalItems, addGroup, removeGroup, moveGroup, addItem, removeItem, moveItem, downloadHTML, isExporting, exportJSON, importJSON, clearStorage }; } }).mount('#app');