|
|
|
|
@ -184,10 +184,11 @@ var SettingModal = function SettingModal(_ref) {
|
|
|
|
|
e.preventDefault();
|
|
|
|
|
(0,util/* downLoadLink */.Nd)('', "".concat(env/* default.API_SERVER */.Z.API_SERVER).concat(file === null || file === void 0 ? void 0 : (_file$url = file.url) === null || _file$url === void 0 ? void 0 : _file$url.replace('disposition=inline', '')));
|
|
|
|
|
},
|
|
|
|
|
title: file === null || file === void 0 ? void 0 : file.name,
|
|
|
|
|
href: file.url,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(LinkOutlined/* default */.Z, {
|
|
|
|
|
className: "mr10 c-grey-666"
|
|
|
|
|
}), file.name]
|
|
|
|
|
}), (0,util/* cutFileName */.tP)(file === null || file === void 0 ? void 0 : file.name, 35)]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
|
|
|
|
className: "iconfont icon-shanchu14 font14 ".concat(DetailsModalmodules.deletfileIcon),
|
|
|
|
|
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
|
|
|
|
|
|