Files
tougao_web/vue.config.js
始于初见 5edf128cfb 1、审稿人14天超时 重新审稿邀请
2、nbsp 转换
3、H3标记为myh3
4、文章详情审稿和编委邮箱机构显示
5、稿号开头为Draft 状态为Reject->Awaiting Submission
6、作者端稿件重复(标题)
7、produce 增加 通讯作者详细地址
8、produce 增加 是否显示图文摘要1
2026-02-10 09:36:35 +08:00

112 lines
2.6 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// // const webpack = require("webpack")
// module.exports = {
// publicPath: './',
// assetsDir: 'static',
// productionSourceMap: false,
// devServer: {
// // public: 'http://192.168.110.156:8080/', // 你自己本地的ip地址:端口号
// // host:'localhost'
// public: '0.0.0.0:8080/',
// port: '8080',
// // open: true,
// // overlay: {
// // warnings: false,
// // errors: true
// // },
// // proxy: {
// // '/api': {
// // // target: 'https://www.tmrjournals.cn',
// // target: 'https://submission.tmrjournals.com/',
// // changeOrigin: true,
// // pathRewrite: {
// // '^/api': ''
// // }
// // }
// // }
// },
// // devServer: {
// // port: port,
// // open: true,
// // overlay: {
// // warnings: false,
// // errors: true
// // },
// // // before: require('./mock/mock-server.js') // 注释掉这一行
// // proxy: {
// // '/dev-api': { // 因为默认开发api就是dev-api所以我这里就没有改其他名字也叫dev-api
// // target: 'https://ceshi.xxxxxxxx.com/',
// // pathRewrite: {
// // '^/dev-api': ''
// // }, // 记得也哟改dev-api
// // }
// // }
// // },
// // 配置插件参数
// // configureWebpack: {
// // plugins: [
// // new webpack.ProvidePlugin({
// // 'window.Quill': 'quill'
// // })
// // ]
// // }
// }
// const webpack = require("webpack")
module.exports = {
publicPath: './',
assetsDir: 'static',
productionSourceMap: false,
devServer: {
// public: 'http://192.168.110.159:8080/', // 你自己本地的ip地址:端口号
port: '8080',
open: true,
overlay: {
warnings: false,
errors: true
},
proxy: {
'/api': {
// target: 'http://zmzm.tougao.dev.com/',//晓玲本地
target: 'https://submission.tmrjournals.com/',//正式
// target: 'http://tougaotest.tmrjournals.com/public/index.php/',//测试环境
// target: 'http://mytest.tmrjournals.com/public/index.php/',//新测试环境
changeOrigin: true,
pathRewrite: {
'^/api': ''
}
}
}
},
// devServer: {
// port: port,
// open: true,
// overlay: {
// warnings: false,
// errors: true
// },
// // before: require('./mock/mock-server.js') // 注释掉这一行
// proxy: {
// '/dev-api': { // 因为默认开发api就是dev-api所以我这里就没有改其他名字也叫dev-api
// target: 'https://ceshi.xxxxxxxx.com/',
// pathRewrite: {
// '^/dev-api': ''
// }, // 记得也哟改dev-api
// }
// }
// },
// 配置插件参数
// configureWebpack: {
// plugins: [
// new webpack.ProvidePlugin({
// 'window.Quill': 'quill'
// })
// ]
// }
}