Giter Site home page Giter Site logo

代码疑似错误 about docee HOT 4 CLOSED

iamqiz avatar iamqiz commented on July 29, 2024
代码疑似错误

from docee.

Comments (4)

Spico197 avatar Spico197 commented on July 29, 2024 1

谢谢您的指正,确实是写岔了,当时看了几遍竟然没看出来orz。马上修改。

from docee.

Spico197 avatar Spico197 commented on July 29, 2024

您好,感谢您对本项目的关注。可以再详细说说吗?

这段代码主要是帮助确定当前文档的类型:

  • 如果包含多个事件类别,则为m2m
  • 如果包含一个事件类别的一个事件实例,则为o2o
  • 如果包含一个事件类别的多个事件实例,则为o2m

从代码逻辑上,我没有发现可能存在的错误,麻烦您再详细解释一下?

from docee.

iamqiz avatar iamqiz commented on July 29, 2024

len(et_counter) == 0 了 怎么还能 et_counter[0] ?

from docee.

Spico197 avatar Spico197 commented on July 29, 2024

抱歉给大家带来困扰了,已更新代码。再次感谢您的贡献和帮助。祝元旦快乐!

from docee.

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.