fix: 修复了一些 bug

This commit is contained in:
anghunk
2026-02-25 09:37:41 +08:00
parent eed0d60359
commit 607d36ead1
5 changed files with 8 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "cwd-admin",
"version": "0.1.6",
"version": "0.1.7",
"type": "module",
"scripts": {
"dev": "vite",

View File

@@ -91,10 +91,10 @@
</div>
<div class="table-cell table-cell-path">
<a
:href="item.postSlug"
:href="item.postUrl ?? undefined"
target="_blank"
class="cell-path"
:title="item.postSlug"
:title="item.postUrl ?? undefined"
>
{{ item.postUrl || item.postSlug }}
</a>
@@ -502,7 +502,7 @@ async function submitEdit() {
name: trimmedName,
email: trimmedEmail,
url: trimmedUrl || null,
postUrl: trimmedPostUrl || null,
postUrl: trimmedPostUrl,
postSlug: newPostSlug,
contentText: trimmedContent,
status: current.status,
@@ -515,7 +515,7 @@ async function submitEdit() {
email: trimmedEmail,
url: trimmedUrl || null,
postSlug: newPostSlug,
postUrl: trimmedPostUrl || null,
postUrl: trimmedPostUrl,
contentText: trimmedContent,
status: current.status,
priority: priorityValue,

View File

@@ -1,6 +1,6 @@
{
"name": "cwd-api",
"version": "0.1.6",
"version": "0.1.7",
"scripts": {
"deploy": "node scripts/index.js && wrangler deploy",
"dev": "wrangler dev",

View File

@@ -1,6 +1,6 @@
{
"name": "cwd-widget",
"version": "0.1.6",
"version": "0.1.7",
"description": "Server-free, extremely fast and secure, plug-and-play commenting system based on Cloudflare Workers and the Global Edge Network.",
"type": "module",
"author": "anghunk",

View File

@@ -1,6 +1,6 @@
{
"name": "cwd",
"version": "0.1.6",
"version": "0.1.7",
"license": "Apache-2.0",
"repository": {
"type": "git",