Skip to content

Commit

Permalink
chore: v0.7.13
Browse files Browse the repository at this point in the history
  • Loading branch information
caixw committed Dec 13, 2024
1 parent 6a5e03a commit 82f0042
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion admin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cmfx/admin",
"version": "0.7.12",
"version": "0.7.13",
"type": "module",
"description": "适用于 cmfx 的后台管理框架",
"author": {
Expand Down
4 changes: 2 additions & 2 deletions cmd/admin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cmfx/admin-demo",
"version": "0.7.12",
"version": "0.7.13",
"type": "module",
"author": {
"name": "caixw",
Expand All @@ -22,7 +22,7 @@
},
"dependencies": {
"@solidjs/router": "^0.15.2",
"@cmfx/admin": "0.7.12",
"@cmfx/admin": "0.7.13",
"solid-js": "^1.9.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const o: Options = {
],
'zh-Hans': [
async () => { return (await import('@cmfx/admin/dev/messages/zh-Hans.ts')).default; },
async () => { return (await import('./locales/cmn-Hans')).default; },
async () => { return (await import('./locales/zh-Hans')).default; },
],
},
fallback: 'en',
Expand Down
2 changes: 1 addition & 1 deletion cmd/admin/src/pages/test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { MessageKey } from '../locales';
export default function Test() {
const ctx = useApp();
ctx.locale().t<MessageKey>('home');
const ps = ctx.useParams();
const ps = ctx.params();
console.log(ps.id);

return <div>{ctx.locale().t<MessageKey>('nest.abc') as string},{ ps.id}</div>;
Expand Down
2 changes: 1 addition & 1 deletion cmfx/cmfx.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
)

// Version 表示当前框架的版本
const Version = "0.7.12"
const Version = "0.7.13"

// 400
const (
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cmfx/admin-eslint",
"version": "0.7.12",
"version": "0.7.13",
"type": "module",
"private": true,
"author": {
Expand Down

0 comments on commit 82f0042

Please sign in to comment.