Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm包内tpanoramaSetting文件内没有定义那个extend方法 #9

Open
Jony1943 opened this issue Jun 18, 2019 · 2 comments
Open

Comments

@Jony1943
Copy link

npm包内没有定义那个extend方法,导致标记设置页面会报错

@TwinkleLee
Copy link

npm包内没有定义那个extend方法,导致标记设置页面会报错

请问后来有找到解决方案吗

@JudyCCC
Copy link

JudyCCC commented Mar 4, 2021

npm包内没有定义那个extend方法,导致标记设置页面会报错

自己copy文件下来加方法吧
function extend(o, n, override) {
for (var key in n) {
if (
Object.prototype.hasOwnProperty.call(n, key) &&
(!Object.prototype.hasOwnProperty.call(o, key) || override)
) {
o[key] = n[key];
}
}
return o;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants