Commit 3e7ef45f authored by 王晓倩's avatar 王晓倩

设备管理编辑时选择企业提示问题

parent f3bc465d
......@@ -126,6 +126,7 @@ import METHOD from "@/utils/methods";
export default class SafetyDeviceMgEdit extends Vue {
//属性或参数中使用!:表示强制解析(告诉typescript编译器,这里一定有值),常用于vue-decorator中的@Prop
@Prop(Boolean) dialogVisible!: Boolean;
@Provide() loading: Boolean = false;
@Prop(Object) editForm!: {
deviceName: String;
longitude: Number;
......@@ -180,7 +181,6 @@ export default class SafetyDeviceMgEdit extends Vue {
confirmFun(formName: string) {
let that = this,
params = that.editForm;
params.enterpriseId = that.editForm.enterpriseListId;
(that as any).$refs[formName].validate((valid: boolean) => {
if (valid) {
METHOD.axiosPost(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment