Comments (2)
假的吧,填了路由,没有进行请求,源码里面也没看见对url这个参数的使用
from form-generator.
仅供参考
<MyGenerator ref="MyGenerator" :list="myList" @bindValue="bindValue">
this.$refs.MyGenerator.setOption('mySelect', [
{
label: '选项一111',
value: 1111
},
{
label: '选项二2222',
value: 2222
}
])
setOption (name, list) {
let tree=this.drawingList
if (tree[0].vModel === name) {
// 根节点判定
tree[0].options = list
return
}
const searchId = (source, name) => {
// 开启递归
for (let i = 0; i < source.length; i++) {
const item = source[i]
if (item.vModel === name) {
item.options = list
return
}
if (item.children) {
// 只对非末端节点进行递归
searchId(item.children, name)
}
}
}
searchId(tree[0].children, name)
return
},
from form-generator.
Related Issues (20)
- 请问支持el-image的数据回显么
- 按钮显示不出来
- 上传组件如何限制上传文件数量 HOT 1
- 流程表单上传文件后回显问题
- input输入框的后缀如何变成能够选择的单位
- 右侧修改组件类型会出现报错
- 如何生成非表单的内容
- 富文本编辑器回显的时候怎么去掉本身的样式,只是拿到内容进行回显呢?
- 使用parser解析json生成的表单中,如何在on事件中,响应式的修改表单的值 HOT 1
- 关于 Parser.vue 表单解析后数据无法绑定的问题 HOT 1
- 输入型组件切换为选择型组件后,添加选项报错 HOT 1
- vue3压根跑不起来 HOT 3
- Uncaught TypeError: h is not a function HOT 1
- 按钮不显示文字
- Home.vue是不是没有开入口给用户进行自定义
- 表单下拉框如何与数据字典、接口绑定数据值 HOT 2
- 如何实现动态布局的组件 HOT 1
- 低代码流程设计器
- Vue3 版本 HOT 1
- 能否改变拖拽时组件默认栅格
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from form-generator.