var global = require('../../../utils/config.js') const app = getApp() Page({ data: { webUrl: '', postId:'' }, onLoad: function (options) { this.setData({ webUrl: 'https://yiqingproject.elinkit.com.cn/wcepc-admin/statics/dist/index.html#/?postId=' + options.postId + '&auth=' + wx.getStorageSync('token') }) console.log(this.data.webUrl) } })