fix: 修复了一些 bug
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cwd-admin",
|
||||
"version": "0.1.6",
|
||||
"version": "0.1.7",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cwd",
|
||||
"version": "0.1.6",
|
||||
"version": "0.1.7",
|
||||
"license": "Apache-2.0",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user