diff --git a/src/apps/AppAskForm/AppForm.vue b/src/apps/AppAskForm/AppForm.vue
index f59616e5..5974ed30 100644
--- a/src/apps/AppAskForm/AppForm.vue
+++ b/src/apps/AppAskForm/AppForm.vue
@@ -3,7 +3,7 @@
-
+
diff --git a/src/apps/AppAskForm/components/AddForm.vue b/src/apps/AppAskForm/components/AddForm.vue
index 0ed32535..42012fe6 100644
--- a/src/apps/AppAskForm/components/AddForm.vue
+++ b/src/apps/AppAskForm/components/AddForm.vue
@@ -93,12 +93,12 @@
+ :is="component"
+ :index="filedIndex"
+ :filed="filed"
+ @change="onChange"
+ :targetListData="targetList"
+ :formData="form"
+ :filedType="filedType"
+ @back="isShowConfig = false"
+ :id="id"
+ :formConfig="formConfig">
@@ -143,7 +143,6 @@ import draggable from 'vuedraggable'
import FiledConfig from './FiledConfig'
import FormSetting from './FormSetting'
import PreviewForm from './PreviewForm'
-import AiBack from "../../../components/AiBack";
export default {
props: ['params'],
@@ -187,7 +186,6 @@ export default {
},
components: {
- AiBack,
draggable,
PreviewForm,
FormSetting,
@@ -656,32 +654,32 @@ export default {
}
}
- .add-form__footer--item-wrapper {
- .add-form__footer--item {
- display: flex;
- align-items: center;
- flex-direction: column;
- flex: 1;
+ .add-form__footer--item-wrapper {
+ .add-form__footer--item {
+ display: flex;
+ align-items: center;
+ flex-direction: column;
+ flex: 1;
- image {
- display: block;
- width: 48px;
- height: 48px;
- margin: 0 auto;
- }
+ image {
+ display: block;
+ width: 48px;
+ height: 48px;
+ margin: 0 auto;
+ }
- span {
- display: block;
- text-align: center;
- color: #999;
- font-size: 28px;
+ span {
+ display: block;
+ text-align: center;
+ color: #999;
+ font-size: 28px;
- &:active {
- background: #eee;
- }
+ &:active {
+ background: #eee;
}
}
}
+ }
.add-form__btn {
display: flex;
diff --git a/src/apps/AppAskForm/components/FiledConfig.vue b/src/apps/AppAskForm/components/FiledConfig.vue
index 480184ce..e47619c1 100644
--- a/src/apps/AppAskForm/components/FiledConfig.vue
+++ b/src/apps/AppAskForm/components/FiledConfig.vue
@@ -147,8 +147,6 @@ export default {
mounted () {
if (this.index !== '') {
this.config = this.filed
- this.index = this.index
-
return false
}
diff --git a/src/apps/AppAskForm/components/List.vue b/src/apps/AppAskForm/components/List.vue
index c67c5e74..0a04c0d7 100644
--- a/src/apps/AppAskForm/components/List.vue
+++ b/src/apps/AppAskForm/components/List.vue
@@ -1,9 +1,9 @@
-
+