This commit is contained in:
2025-11-04 10:07:11 +08:00
parent 9476b8c43c
commit ae940dafb5
2 changed files with 5 additions and 1 deletions

View File

@@ -251,6 +251,7 @@
<div class="form-actions">
<el-button type="primary" :loading="submitting" @click="onSubmit">提交问题信息</el-button>
<el-button type="primary" :loading="submitting" @click="manRefresh">手动刷新</el-button>
<el-button @click="onReset">重置表单</el-button>
</div>
</el-form>
@@ -397,6 +398,9 @@ export default {
}
})
},
manRefresh(){
location.reload();
},
onReset() {
this.$refs.formRef.resetFields()
}

View File

@@ -1,7 +1,7 @@
// 配置解决跨域问题
module.exports = {
devServer:{
host:'localhost',//指定开发服务器主机地址
host:'0.0.0.0',//指定开发服务器主机地址
port:8088,//设置前端项目端口号为8088
open:true,//启动时自动打开浏览器
proxy:{//配置代理解决跨域问题