fix: 修正复制链接插件和复制插件冲突的问题

This commit is contained in:
539943419 committed 2025-03-31 22:42:54 +08:00
1 parent 5d0abf5ac9
commit 6f42c634ff
3 files changed
+68 -4

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ const initPlugin = async (globalAlertTip: alertTipType) => {
type: PluginExportType
key?: string
}
const { type, key } = _config
const { type, key = `${Math.random()}` } = _config
if (type === PluginExportType.component) {
pluginCenter.registerComponent(
_config.default as registerComponentOption