zhuzhuanzhuan
2023-08-10 9b3e7c3c47dc27e531a7b954aa2b3ba500c84b78
src/views/mdc/base/modules/deviceManager/DeviceModel.vue
@@ -246,11 +246,19 @@
            }
            obj.then((res) => {
              if (res.success) {
                that.$message.success("添加成功")
                // that.$message.success("添加成功")
                that.$notification.warning({
                  message:'消息',
                  description:"添加成功"
                });
                // that.$message.success(res.message)
                that.$emit('ok', res.result)
              } else {
                that.$message.warning(res.message)
                // that.$message.warning(res.message)
                that.$notification.warning({
                  message:'消息',
                  description:res.message
                });
              }
            }).finally(() => {
              that.confirmLoading = false