refresh
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// 配置解决跨域问题
|
||||
module.exports = {
|
||||
devServer:{
|
||||
host:'localhost',//指定开发服务器主机地址
|
||||
host:'0.0.0.0',//指定开发服务器主机地址
|
||||
port:8088,//设置前端项目端口号为8088
|
||||
open:true,//启动时自动打开浏览器
|
||||
proxy:{//配置代理解决跨域问题
|
||||
|
||||
Reference in New Issue
Block a user