diff --git a/ruoyi-ui/src/views/system/userFront/payBefore.vue b/ruoyi-ui/src/views/system/userFront/payBefore.vue
index 8e95f788..940e571d 100644
--- a/ruoyi-ui/src/views/system/userFront/payBefore.vue
+++ b/ruoyi-ui/src/views/system/userFront/payBefore.vue
@@ -63,7 +63,8 @@ export default {
};
},
created() {
- this.goodsId = this.$route.params.id;
+ // this.goodsId = this.$route.params.id;
+ this.goodsId = this.$route.query.id;
this.getGood(this.goodsId);
console.log('goodsId',this.goodsId)
},
diff --git a/ruoyi-ui/vue.config.js b/ruoyi-ui/vue.config.js
index fa67f51b..cd0fc1ae 100644
--- a/ruoyi-ui/vue.config.js
+++ b/ruoyi-ui/vue.config.js
@@ -7,9 +7,9 @@ function resolve(dir) {
const CompressionPlugin = require('compression-webpack-plugin')
-const name = process.env.VUE_APP_TITLE || '若依管理系统' // 网页标题
+const name = process.env.VUE_APP_TITLE || '毕设管理' // 网页标题
-const port = process.env.port || process.env.npm_config_port || 80 // 端口
+const port = process.env.port || process.env.npm_config_port || 99 // 端口
// vue.config.js 配置说明
//官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions
@@ -36,7 +36,7 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
- target: `http://localhost:8080`,
+ target: `http://localhost:40506`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''