Commit 03aa36e4 by xinla

去除hash路径

1 parent 5ff2bcf9
...@@ -648,7 +648,7 @@ export default { ...@@ -648,7 +648,7 @@ export default {
} }
this.pageDataAll = JSON.parse(data.styles) this.pageDataAll = JSON.parse(data.styles)
} }
this.baseFormUrl4 = window.lwConfig.DOMAIN + '/#/formsDetail?id=true&formId=' + this.formId this.baseFormUrl4 = window.lwConfig.DOMAIN + '/formsDetail?id=true&formId=' + this.formId
this.creatQrCode() this.creatQrCode()
// this.$forceUpdate() // this.$forceUpdate()
...@@ -735,7 +735,7 @@ export default { ...@@ -735,7 +735,7 @@ export default {
// } // }
var qrcode = QRCode.toDataURL( var qrcode = QRCode.toDataURL(
this.$refs.qrCodeUrl, this.$refs.qrCodeUrl,
window.lwConfig.DOMAIN + '/#/formsDetail?id=q&formId=' + that.formId, // 需要转换为二维码的内容 window.lwConfig.DOMAIN + '/formsDetail?id=q&formId=' + that.formId, // 需要转换为二维码的内容
{ {
width: 150, width: 150,
margin: 4, margin: 4,
......
...@@ -98,7 +98,7 @@ export default { ...@@ -98,7 +98,7 @@ export default {
selectInfoToSurvey(this.formId).then((response) => { selectInfoToSurvey(this.formId).then((response) => {
this.loading = false this.loading = false
that.baseFormUrl4 = window.lwConfig.DOMAIN + '/#/formsDetail?id=true&formId=' + that.formId that.baseFormUrl4 = window.lwConfig.DOMAIN + '/formsDetail?id=true&formId=' + that.formId
if (response.data.channelsName) { if (response.data.channelsName) {
that.ChannelsList = response.data.channelsName.split(',') that.ChannelsList = response.data.channelsName.split(',')
that.channelsPathList = response.data.channelsPath.split(',') that.channelsPathList = response.data.channelsPath.split(',')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!