Giter Club home page Giter Club logo

Comments (8)

netssfy avatar netssfy commented on June 16, 2024 1

@baiheinet
image
加了一下这个,就可以了。不知道对不对,我先提个PR吧

from nocobase.

baiheinet avatar baiheinet commented on June 16, 2024

#3591

from nocobase.

netssfy avatar netssfy commented on June 16, 2024

@baiheinet 我不是跨数据库,都是sqlite

from nocobase.

netssfy avatar netssfy commented on June 16, 2024

@baiheinet 我在packages\plugins@nocobase\plugin-backup-restore\src\server\commands\restore-command.ts的addRestoreCommand加了条调试的日志,然后yarn dev启动时并没有看到这条LOG。感觉应该就是这个command没被注册到app里。我刚接触,对底层框架不太了解,不清楚core是如何加载plugin的command.

是需要plugin在beforeLoad里显示的调用addRestoreCommand嘛?我看目前没有调用。还是说框架会自己把commands里导出的函数执行一下?

from nocobase.

baiheinet avatar baiheinet commented on June 16, 2024

非常完美 ,跨数据库真正的错误是这样的,
image

from nocobase.

netssfy avatar netssfy commented on June 16, 2024

@baiheinet,谁能帮忙review一下PR?

from nocobase.

chenos avatar chenos commented on June 16, 2024

@netssfy 升级到最新版本了么,commands 是自动处理的,不需要在 beforeLoad 里再加了

from nocobase.

chenos avatar chenos commented on June 16, 2024

fix: #3858

from nocobase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.