admin 管理员组

文章数量: 887018


2024年2月23日发(作者:select查询)

import { rollup } from "rollup";import { terser } from "rollup-plugin-terser";rollup({ input: "", plugins: [terser()]});antd 组件源码错误 switch (e) { case 'fill': return c + '-fill'; case 'outline': return c + '-o'; case 'twotone': return c + '-twotone'; default: throw new TypeError('Unknown theme type: ' + e + ', name: ' + c); }

注释掉message组件问题消失able

// if (isNode) { notify = function () { ck(flush); }; // browsers with MutationObserver, except iOS Safari - /zloirock/core-js/issues/339 } else if (Observer && !(tor && lone)) { var toggle = true; var node = TextNode(''); new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new notify = function () { = toggle = !toggle; }; // environments with maybe non-completely correct, but existent Promise } else if (Promise && e) { // e without an argument throws an error in LG WebOS 2 var promise = e(undefined); notify = function () { (flush); }; // for other environments - macrotask based on: // - setImmediate // - MessageChannel // - ssag // - onreadystatechange // - setTimeout } else { notify = function () { // strange IE + webpack dev server bug - use .call(global) (global, flush); }; }修改后的代码


本文标签: 组件 问题 查询 修改 作者