gcloudlab / qa Goto Github PK
View Code? Open in Web Editor NEW🤖部署在Vercel的ChatGPT镜像站点(gpt-3.5-turbo)
Home Page: https://a.mydog.buzz/
License: GNU General Public License v3.0
🤖部署在Vercel的ChatGPT镜像站点(gpt-3.5-turbo)
Home Page: https://a.mydog.buzz/
License: GNU General Public License v3.0
报错详情:
/src/components/Generator.tsx:110
window.removeEventListener(type, eventHandler);
^
ReferenceError: window is not defined
at eval (/src/components/Generator.tsx:110:7)
at Array.forEach ()
at Array.eval (/src/components/Generator.tsx:109:16)
at cleanNode (/node_modules/solid-js/dist/server.js:127:68)
at Timeout.eval [as _onTimeout] (/node_modules/solid-js/dist/server.js:49:52)
at listOnTimeout (node:internal/timers:569:17)
at process.processTimers (node:internal/timers:512:7)
Node.js v18.14.2
ELIFECYCLE Command failed with exit code 1.
如题,谢谢。
vercel的域名国内访问,请问如何使用netlify搭建
建议 输入key后,成功运行一次后,自动隐藏key中间部分,保护隐私
建议预设场景 不要随机 可以选择,或者 可以自定义,这样就完美了
老哥,我用netlify按教程部署后访问链接报错,没用过netlify,不知道哪的问题,您有空的话看下
`This edge function has crashed
An unhandled error in the function code triggered the following message:
The deployment failed while serving the request.
Connection details
Netlify internal ID: 01H074EFQQEH9Z40VKJYXFH8Q6`
很好用,怎么在您的官网修改快捷键,换行比提交的使用的更多,想把这enter shift+enter 2 个快捷键换一下。
这么写没有生效😭
document.querySelector('textarea').addEventListener('keydown', function(e) {
if (e.keyCode === 13) { // 按下回车键
if (e.shiftKey) { // 按下了 shift 键
var button = document.querySelector('button[title="发送"]')
button.click(); // 触发 click 事件
alert('shift+enter');
} else {
this.value += '\n';
alert('enter');
}
e.preventDefault();
}
});
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.