保存
@@ -68,6 +74,8 @@ export default {
app: null,
stream: null,
gbId: null,
+ longitude: null,
+ latitude: null,
},
rules: {
name: [{ required: true, message: "请输入名称", trigger: "blur" }],
@@ -84,6 +92,16 @@ export default {
if (proxyParam != null) {
this.proxyParam = proxyParam;
this.edit = true
+ }else{
+ this.proxyParam= {
+ name: null,
+ app: null,
+ stream: null,
+ gbId: null,
+ longitude: null,
+ latitude: null,
+ }
+ this.edit = false
}
},
onSubmit: function () {