Git Product home page Git Product logo

Comments (2)

Hazel-Lin avatar Hazel-Lin commented on August 26, 2024

2.2

from earthworm.

fengstats avatar fengstats commented on August 26, 2024

目前这个 Loading 的显示是基于是在 Game 视图中是否有 currentStatement.id 来判断的

所以本质上是 courseStore 中的 currentStatement(当前题目信息)一直被保留所以才会造成

有两个方案可以处理:

  1. 将 courseStore 中的课程信息重置
  2. 在 Main/[id].vue 中进行统一拦截操作,默认 isLoading 状态为 true,等待 coursesStore.setup() 获取数据完成后正常显示页面数据将 isLoading 设置为 false

from earthworm.

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.