Git Product home page Git Product logo

Comments (8)

callmesoul avatar callmesoul commented on June 29, 2024

什么需求?需要怎么显示日?

from wepy-calendar.

zhangchao828 avatar zhangchao828 commented on June 29, 2024

image
最后显示是这样的,下面空白,然后年月的滑动选择不流畅啊,划不动
你这个是根据https://github.com/treadpit/wx_calendar.git 这个改的吗

from wepy-calendar.

callmesoul avatar callmesoul commented on June 29, 2024

是不是没调用this.$broadcast("startRenderCalendar"); 通知渲染。
我根据一个问答社区的 的代码改的,具体忘了。

from wepy-calendar.

callmesoul avatar callmesoul commented on June 29, 2024

应该不会啊,是写在同一个页面的。而且我这边使用也正常啊。看下是不是其他问题

from wepy-calendar.

zhangchao828 avatar zhangchao828 commented on June 29, 2024

日是固定写死的吗?比如切换到几几年2月份的时候,不应该有29,30,31号

from wepy-calendar.

callmesoul avatar callmesoul commented on June 29, 2024

不是写死的,是算出来的,就像2018年2月,是没有23,30,31的。正常的啊

from wepy-calendar.

zhangchao828 avatar zhangchao828 commented on June 29, 2024

嗯,知道了,,每次改变日期之后还需要调用this.$broadcast("startRenderCalendar")才会变化 ,谢谢

from wepy-calendar.

callmesoul avatar callmesoul commented on June 29, 2024

对的,因为有些需要渲染打卡有些需要不需要,只好统一使用一个事件去通知

from wepy-calendar.

Related Issues (5)

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.