Skip to content

修复场景报错、更新 meta 标签、新增复制功能 #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: 修复 game.restart() 后找不到场景报错
  • Loading branch information
orchid-world committed May 22, 2025
commit 19ffaac15a2b82e7e117a2240db78e0b05b838b4

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions release/preview-template/dist/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script type="module" crossorigin src="/dist/assets/index.95bf25f5.js"></script>
<link rel="stylesheet" href="/dist/assets/index.741f95c0.css">
<script type="module" crossorigin src="/dist/assets/index.6a0d89a7.js"></script>
<link rel="stylesheet" href="/dist/assets/index.3b94c241.css">
<div id="dev-app" style="width: 400px;height: 100%;display: flex;flex-direction: column;justify-content: center;"></div>

2 changes: 1 addition & 1 deletion src/components/TreePanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function setChildren(container: TreeNode[], children: any[], path: string[]) {

function refreshTree() {
// @ts-ignore
if (props.show && window.ccdevShow) {
if (props.show && window.ccdevShow && cc.director.getScene()) {
let value: TreeNode[] = [];
//@ts-ignore
setChildren(value, cc.director.getScene().children, []);
Expand Down