fix: 修复了一些 bug
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cwd-admin",
|
"name": "cwd-admin",
|
||||||
"version": "0.1.6",
|
"version": "0.1.7",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -91,10 +91,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="table-cell table-cell-path">
|
<div class="table-cell table-cell-path">
|
||||||
<a
|
<a
|
||||||
:href="item.postSlug"
|
:href="item.postUrl ?? undefined"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
class="cell-path"
|
class="cell-path"
|
||||||
:title="item.postSlug"
|
:title="item.postUrl ?? undefined"
|
||||||
>
|
>
|
||||||
{{ item.postUrl || item.postSlug }}
|
{{ item.postUrl || item.postSlug }}
|
||||||
</a>
|
</a>
|
||||||
@@ -502,7 +502,7 @@ async function submitEdit() {
|
|||||||
name: trimmedName,
|
name: trimmedName,
|
||||||
email: trimmedEmail,
|
email: trimmedEmail,
|
||||||
url: trimmedUrl || null,
|
url: trimmedUrl || null,
|
||||||
postUrl: trimmedPostUrl || null,
|
postUrl: trimmedPostUrl,
|
||||||
postSlug: newPostSlug,
|
postSlug: newPostSlug,
|
||||||
contentText: trimmedContent,
|
contentText: trimmedContent,
|
||||||
status: current.status,
|
status: current.status,
|
||||||
@@ -515,7 +515,7 @@ async function submitEdit() {
|
|||||||
email: trimmedEmail,
|
email: trimmedEmail,
|
||||||
url: trimmedUrl || null,
|
url: trimmedUrl || null,
|
||||||
postSlug: newPostSlug,
|
postSlug: newPostSlug,
|
||||||
postUrl: trimmedPostUrl || null,
|
postUrl: trimmedPostUrl,
|
||||||
contentText: trimmedContent,
|
contentText: trimmedContent,
|
||||||
status: current.status,
|
status: current.status,
|
||||||
priority: priorityValue,
|
priority: priorityValue,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cwd-api",
|
"name": "cwd-api",
|
||||||
"version": "0.1.6",
|
"version": "0.1.7",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"deploy": "node scripts/index.js && wrangler deploy",
|
"deploy": "node scripts/index.js && wrangler deploy",
|
||||||
"dev": "wrangler dev",
|
"dev": "wrangler dev",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cwd-widget",
|
"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.",
|
"description": "Server-free, extremely fast and secure, plug-and-play commenting system based on Cloudflare Workers and the Global Edge Network.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"author": "anghunk",
|
"author": "anghunk",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cwd",
|
"name": "cwd",
|
||||||
"version": "0.1.6",
|
"version": "0.1.7",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user