GithubHelp home page GithubHelp logo

Comments (19)

xhbpiao avatar xhbpiao commented on June 18, 2024 1

问题 就出在这一块了 ,你思考一下 ,也可以debug 一下。 我明天再继续看

from memocast.

xhbpiao avatar xhbpiao commented on June 18, 2024

点击切换视图 ,只能在 1 和2 图切换。 点击目结构 会出现图3的情况

from memocast.

TankNee avatar TankNee commented on June 18, 2024

请问您在为知的网页端可以看到文件夹吗

from memocast.

xhbpiao avatar xhbpiao commented on June 18, 2024

在网页端和 wizNote 上面 都可以看到
image

from memocast.

TankNee avatar TankNee commented on June 18, 2024

使用command+option+i可以调用Chrome开发者工具,你能看一下网络调用吗。或者你给我一个测试账号我来看一下?

from memocast.

xhbpiao avatar xhbpiao commented on June 18, 2024

image
image
image

from memocast.

TankNee avatar TankNee commented on June 18, 2024

ctrl+R刷新可以重新加载一遍。看看有没有这个URL的请求
image
他的返回体是这样的
image

from memocast.

xhbpiao avatar xhbpiao commented on June 18, 2024

上面最后一个图就是
image

from memocast.

TankNee avatar TankNee commented on June 18, 2024

感谢,我会尽快定位错误的。这个报错之前也出现过,我会尽快解决的

from memocast.

xhbpiao avatar xhbpiao commented on June 18, 2024

🙏

from memocast.

xhbpiao avatar xhbpiao commented on June 18, 2024

我追了一下你的代码 ,你的多级目录处理有问题

from memocast.

TankNee avatar TankNee commented on June 18, 2024

我追了一下你的代码 ,你的多级目录处理有问题

愿闻其详,那一块没做太多测试

from memocast.

xhbpiao avatar xhbpiao commented on June 18, 2024

image
你这一块 只对 单级目录做了处理。 多级的 result 没有添加值 ,导致后面 的 const rootNodeIndex = result.findIndex(c => c.label === category[0])
这里匹配不到

from memocast.

TankNee avatar TankNee commented on June 18, 2024

感谢。

from memocast.

TankNee avatar TankNee commented on June 18, 2024

很奇怪的一件事,我的私有部署服务器返回的数据中,这个文件夹列表是有顺序的,是按照父文件夹,子文件夹这样一层层下来的。你的服务器好像不太一样?

from memocast.

TankNee avatar TankNee commented on June 18, 2024

例如
image
/My Notes/下面跟的是/My Notes/数据结构/

from memocast.

TankNee avatar TankNee commented on June 18, 2024

我的代码是基于这个逻辑写的,比较偷懒。我把这个地方改一下,适配你这种情况

from memocast.

xhbpiao avatar xhbpiao commented on June 18, 2024

result 的 内容似乎有随机性, 一个简单的解决办法就是sort 一下

from memocast.

TankNee avatar TankNee commented on June 18, 2024

新版本正在构建,可以等一会儿在releases页面查看。
我简单地排了一下文件夹列表。

from memocast.

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.