UNPKG

fastlion-amis

Version:

一种MIS页面生成工具

36 lines (35 loc) 1.8 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.openNotification = void 0; var tslib_1 = require("tslib"); // 提醒安装Lodop var react_1 = (0, tslib_1.__importDefault)(require("react")); var notification_1 = (0, tslib_1.__importDefault)(require("antd/lib/notification")); var openNotification = function () { var key = "LODOP"; // saas-web项目 webpack.config.ts配置,前面没有/,是相对于当前目录 var downloadUrl = "static/software/CLodop_Setup_for_Win32NT.exe"; var description = (react_1.default.createElement("div", null, react_1.default.createElement("p", null, "C-Lodop\u53EF\u80FD\u672A\u542F\u52A8\uFF0C\u82E5\u5DF2\u5B89\u88C5\u8BF7\u542F\u52A8\u3002"), react_1.default.createElement("p", null, '若未安装或未启动或需要升级,点击直接下载 ', react_1.default.createElement("a", { href: downloadUrl, target: "_self", rel: "noopenner noreferrer" }, "C-Lodop"), ' 安装并', react_1.default.createElement("b", null, "\u542F\u52A8"), "\uFF0C\u5B89\u88C5\u5B8C\u6210\u540E\u8BF7", react_1.default.createElement("b", null, "\u5237\u65B0"), "\u9875\u9762\u3002"), react_1.default.createElement("p", null, '注意:如曾安装过 Lodop 旧版附件 npActiveXPLugin,请在【工具】->【附加组件】->【扩展】中先卸它'))); notification_1.default.info({ message: '提示', description: description, key: key, duration: 10, style: { width: 500, marginLeft: -120, }, }); }; exports.openNotification = openNotification; //# sourceMappingURL=./utils/print/notifyLodop.js.map