Browse Source

修复跳转网页地址

old
wangqing 4 years ago
parent
commit
eb7aa386e9
  1. 1
      src/views/form/setting/index.vue
  2. 9
      src/views/form/write/index.vue

1
src/views/form/setting/index.vue

@ -80,6 +80,7 @@
<el-col :span="20" class="setting-input"> <el-col :span="20" class="setting-input">
<el-input <el-input
v-model="userProjectSettingData.submitJumpUrl" v-model="userProjectSettingData.submitJumpUrl"
placeholder="https://demo.tduckapp.com"
:show-word-limit="true" :show-word-limit="true"
:maxlength="50" :maxlength="50"
@change="saveUserProjectSetting" @change="saveUserProjectSetting"

9
src/views/form/write/index.vue

@ -270,6 +270,12 @@ export default {
'processData': data.labelFormModel 'processData': data.labelFormModel
}).then(() => { }).then(() => {
this.writeStatus = 2 this.writeStatus = 2
if (this.userProjectSetting.submitJumpUrl) {
setTimeout(() => {
window.location.replace(this.userProjectSetting.submitJumpUrl)
}, 1000)
}
}) })
} }
} }
@ -283,6 +289,7 @@ export default {
height: 100%; height: 100%;
width: 100%; width: 100%;
} }
.title-icon-view { .title-icon-view {
display: flex; display: flex;
align-items: center; align-items: center;
@ -292,6 +299,7 @@ export default {
height: 100%; height: 100%;
width: 100%; width: 100%;
} }
.icon-view { .icon-view {
width: 59px; width: 59px;
height: 59px; height: 59px;
@ -302,6 +310,7 @@ export default {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.success-icon { .success-icon {
text-align: center; text-align: center;
color: white; color: white;

Loading…
Cancel
Save