Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
zyh committed Sep 17, 2019
1 parent 51b5ffc commit bf107b3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/assets/scss/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $base-666:#666;
.scrollbar-wrapper {
overflow-x: hidden !important;
.el-scrollbar__view {
// height: 100%;
height: 100%;
overflow-x: hidden !important;
}
}
Expand Down
6 changes: 6 additions & 0 deletions src/views/formDesign/components/GenerateForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,17 @@ export default {
}
},
created () {
// console.log(this.data.list)
this.generateModle(this.data.list)
console.log(this.remote)
console.log(this.value)
console.log(this.insite)
// console.log(remote)
},
mounted () {
},
methods: {
generateModle (genList) {
for (let i = 0; i < genList.length; i++) {
if (genList[i].type === 'grid') {
Expand Down
1 change: 1 addition & 0 deletions src/views/formDesign/components/GenerateFormItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ export default {
}
},
created () {
console.log(this.remote)
if (this.widget.options.remote && this.remote[this.widget.options.remoteFunc]) {
this.remote[this.widget.options.remoteFunc]((data) => {
this.widget.options.remoteOptions = data.map(item => {
Expand Down

0 comments on commit bf107b3

Please sign in to comment.