diff --git a/src/views/faultSystem.vue b/src/views/faultSystem.vue index 0d17182..9a2cd3f 100644 --- a/src/views/faultSystem.vue +++ b/src/views/faultSystem.vue @@ -251,6 +251,7 @@
提交问题信息 + 手动刷新 重置表单
@@ -397,6 +398,9 @@ export default { } }) }, + manRefresh(){ + location.reload(); + }, onReset() { this.$refs.formRef.resetFields() } diff --git a/vue.config.js b/vue.config.js index b0171f9..cc9eae4 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,7 +1,7 @@ // 配置解决跨域问题 module.exports = { devServer:{ - host:'localhost',//指定开发服务器主机地址 + host:'0.0.0.0',//指定开发服务器主机地址 port:8088,//设置前端项目端口号为8088 open:true,//启动时自动打开浏览器 proxy:{//配置代理解决跨域问题