gaoluyang
6 天以前 c7b4b9a2f4c0f05aeb60a9e3f5fba5d9a3676f3f
src/hooks/useModal.js
@@ -8,11 +8,10 @@
  const openModal = (e) => {
    id.value = e;
    modalOptions.value = {
      title: e ? "编辑设备台账" : "新增设备台账",
      title: e ? `修改${options.title}` : `新增${options.title}`,
      content: "确定执行此操作吗?",
      confirmText: "确定",
      cancelText: "取消",
      ...options,
    };
    visible.value = true;
  };