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-input
v-model="userProjectSettingData.submitJumpUrl"
placeholder="https://demo.tduckapp.com"
:show-word-limit="true"
:maxlength="50"
@change="saveUserProjectSetting"

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

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

Loading…
Cancel
Save