Compare commits

...

2 Commits

Author SHA1 Message Date
2fa90738e7 update
Some checks failed
Deploy / deploy (build, debian, 22) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822) (push) Has been cancelled
2026-04-13 05:01:46 -06:00
35ee7d69dd fix 2026-04-13 04:59:40 -06:00
4 changed files with 515 additions and 1195 deletions

1674
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -14,28 +14,28 @@
"@codemirror/lang-html": "^6.4.11",
"@codemirror/lang-javascript": "^6.2.4",
"@vueuse/core": "^14.1.0",
"axios": "^1.13.3",
"axios": "^1.15.0",
"codemirror": "^6.0.2",
"copy-text-to-clipboard": "^3.2.2",
"github-markdown-css": "^5.8.1",
"github-markdown-css": "^5.9.0",
"highlight.js": "^11.11.1",
"marked": "^17.0.1",
"marked": "^18.0.0",
"marked-alert": "^2.1.2",
"marked-code-preview": "^1.3.7",
"marked-highlight": "^2.2.3",
"md-editor-v3": "^6.3.1",
"naive-ui": "^2.43.2",
"vue": "^3.5.27",
"marked-highlight": "^2.2.4",
"md-editor-v3": "^6.4.2",
"naive-ui": "^2.44.1",
"vue": "^3.5.32",
"vue-codemirror": "^6.1.1",
"vue-router": "^4.6.4"
"vue-router": "^5.0.4"
},
"devDependencies": {
"@iconify/vue": "^5.0.0",
"@rsbuild/core": "^1.7.2",
"@rsbuild/plugin-vue": "^1.2.3",
"@vue/tsconfig": "^0.8.1",
"prettier": "^3.8.1",
"typescript": "^5.9.3",
"unplugin-vue-components": "^31.0.0"
"@rsbuild/core": "^1.7.5",
"@rsbuild/plugin-vue": "^1.2.7",
"@vue/tsconfig": "^0.9.1",
"prettier": "^3.8.2",
"typescript": "^6.0.2",
"unplugin-vue-components": "^32.0.0"
}
}

View File

@@ -91,12 +91,12 @@ const layoutConfig: Record<
},
}
const layoutIndex = ref(0)
const layoutIcon = computed(() => layoutConfig[layouts[layoutIndex.value]].icon)
const layoutIcon = computed(() => layoutConfig[layouts[layoutIndex.value]!].icon)
const layoutLabel = computed(
() => layoutConfig[layouts[layoutIndex.value]].label,
() => layoutConfig[layouts[layoutIndex.value]!].label,
)
const iframeWrapperStyle = computed(() => ({
maxWidth: layoutConfig[layouts[layoutIndex.value]].width,
maxWidth: layoutConfig[layouts[layoutIndex.value]!].width,
}))
function cycleLayout() {
layoutIndex.value = (layoutIndex.value + 1) % layouts.length

View File

@@ -104,7 +104,7 @@ async function getContent() {
if (target) {
show(display)
} else if (list.value.length > 0) {
show(list.value[0].display)
show(list.value[0]!.display)
}
}