GithubHelp home page GithubHelp logo

Comments (4)

GavinZhuLei avatar GavinZhuLei commented on July 22, 2024

提供有 setJson 方法

from vue-form-making.

SamHz avatar SamHz commented on July 22, 2024

@GavinZhuLei 没有找到有setJson的方法,显示是可以,但是WidgetForm这里有一个问题当我加载Ajax数据后,他过快的加载组件,我在页面加Loading也不行,它会先加载组件再加入我的数据,做成我要在WidgetForm的mounted中$nextTick来等待数据,这样也只是能达到数据回显,但实际还是先报了错再加载的,这样一大堆错出来,后面如果有其他错就肯定会晕掉,有没有办法能select:sync这里不要在创建时就加载呢?

from vue-form-making.

GavinZhuLei avatar GavinZhuLei commented on July 22, 2024

@GavinZhuLei 没有找到有setJson的方法,显示是可以,但是WidgetForm这里有一个问题当我加载Ajax数据后,他过快的加载组件,我在页面加Loading也不行,它会先加载组件再加入我的数据,做成我要在WidgetForm的mounted中$nextTick来等待数据,这样也只是能达到数据回显,但实际还是先报了错再加载的,这样一大堆错出来,后面如果有其他错就肯定会晕掉,有没有办法能select:sync这里不要在创建时就加载呢?

你可以把错误信息贴出来,看下是原因导致的

from vue-form-making.

SamHz avatar SamHz commented on July 22, 2024

@GavinZhuLei 我这边已经解决了
由于回显数据时,没有选中所以会导致select那里为Null,在WidgetForm加个判断让他在没有值时不显示
image

from vue-form-making.

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.