fix: 修正复制链接插件和复制插件冲突的问题
This commit is contained in:
1 parent
5d0abf5ac9
commit
6f42c634ff
3 files changed
+68
-4
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user