component server react

使用nestjs和react快速搭建项目架子

首先搭建前后端的项目架子 搭建nestjs架子 npx @nestjs/cli new 项目名 使用vite搭建一个react+ts的架子,vite地址:https://cn.vitejs.dev/guide/。搭建好后cd到项目中,然后安装依赖,尝试启动。 npm create vite@late ......
架子 项目 nestjs react

使用的antd的pro-table时,遇到了两种引入方法---@ant-design/pro-components和@ant-design/pro-table的区别

两种方式,同时使用的时候,会报错 npm i @ant-design/pro-components 报错 ......
ant-design pro-table design pro table

Windows Server 环境下 Mysql-8.0.32-winx64 升级至 Mysql-8.2.0-winx64版本

Mysql-8.0.32-winx64 升级至 Mysql-8.2.0-winx64版本 摘要: 环境:Windows Server 2019 Datacenter Mysql 8.0.32 升级至 Mysql 8.2.0 操作记录,跨域服务器访问; 准备工作:升级新版本、备份旧版本数据 zip压缩 ......
Mysql winx Windows 版本 环境

naming conflicts with other components【vue3】

问题描述: 在vue3中有相同名称的文件时,会报错 [unplugin-vue-components] component "Xxx"(D:/a/b/xxx.vue) has naming conflicts with other components, ignored. 解决方案: 修改vite. ......
components conflicts naming other with

Windows Server 2012 R2 Standard 版英特尔网络适配器驱动程序

Windows Server 2012 R2 Standard 版安装好以后发现没有网络,网上搜了很多都是不行,后来找到了方法,解决你方法如下: Windows Server 2012 R2 Standard 版英特尔网络适配器驱动程序 1、以太网驱动,下载解压安装即可 Wired_driver_2 ......

React jsx 语法解析 & 转换原理

jsx介绍 jsx是一种JavaScript的语法扩展(eXtension),也在很多地方称之为JavaScript XML,因为看起就是一段XML语法,用于描述UI界面,并且可以和JavaScript代码结合使用。 比起vue中的模板语法,更加灵活,且不需要学习模板语法中的特定标签,比如:v-if ......
语法 原理 React jsx amp

如何在一个解决方案中使用EFCore 匹配 oracle和sql server 数据库(AI)

来自你的消息: 如何在一个解决方案中使用EFCore 匹配 oracle和sql server 数据库?请给出详细示例并可以运行的! 来自WeTab AI的消息: 要在一个解决方案中使用EFCore 匹配 Oracle和SQL Server数据库,需要做以下步骤: 安装 EF Core 相应的数据库 ......
解决方案 数据库 方案 数据 EFCore

react学习笔记

一:创建一个react项目 npx create-next-app my-app(项目名称)cd my-appnpm start 二:项目初始化 index.js import React from "react" import ReactDOM from "react-dom" import Ap ......
笔记 react

SQL Server数据库加密解密使用案例

1 --创建数据库主秘钥 2 2 CREATE MASTER KEY ENCRYPTION BY PASSWORD = 'pwd' 3 3 ==> pwd是用户自己设置的密码 4 4 5 5 --创建证书 6 6 CREATE CERTIFICATE TestCertName WITH SUBJEC ......
加密解密 案例 数据库 数据 Server

SQL Server CONCAT()函数简介

使用CONCAT()函数可将两个或多个字符串连接成一个字符串,语法如下: CONCAT ( input_string1, input_string2 [, input_stringN ] ); 可以有多个参数,连接多个字符串,最多255个输入字符串并将它们连接成一个字符串。 它至少需要两个输入字符串 ......
函数 简介 CONCAT Server SQL

SQL Server 2022 基于 Docker 部署

1、Docker、Docker-Compose安装 https://www.cnblogs.com/a120608yby/p/9883175.html https://www.cnblogs.com/a120608yby/p/14582853.html 2、基于Docker-Compose部署SQL ......
Docker Server 2022 SQL

windows server 启动和停止脚本

停止指定端口: set port=8800 for /f "tokens=1-5" %%i in ('netstat -ano^|findstr ":%port%"') do ( echo kill the process %%m who use the port taskkill /pid %%m ......
脚本 windows server

SQL Server取视图和视图的字段

SELECT v.name AS ViewName, c.name AS ColumnName FROM sys.views v INNER JOIN sys.columns c ON v.object_id = c.object_id WHERE v.name = 'YourViewName' S ......
视图 字段 Server SQL

国产Geoscene Server 4.0编译SOE总结

背景:公司一直使用Arcgis Server 10.1、Visual Studio 2010开发SOE功能,随着国产化软件发展大趋势,SOE中的各种分析功能,需要升级到Geoscene Server环境下。 环境:Visual Studio 2022【官网下载】 GeoScene_Server_Wi ......
Geoscene 国产 Server 4.0 SOE

seata-server-1.8.0 | Could not resolve placeholder 'console.user.username' in value "${console.user.username}"  | "${seata.security.secretKey}"

PS D:\gitrepo\seata-server-1.8.0\seata> * [Seata1.6.1启动报错:console.user.username\_seata could not resolve placeholder 'console.user.-CSDN博客](https://bl ......
quot username console seata user

SQL Server Profiler的trc文件生成阻止

很奇葩,sqlserver自动生成trc文件,每分钟一个,重启服务器也没用。 解决思路: 查询现在正在跑的trace进程 select * from sys.fn_trace_getinfo(0); 关闭C2审计功能 EXEC sp_configure 'c2 audit mode', '0'; 重 ......
Profiler 文件 Server SQL trc

docker部署企业wiki----atlassian/confluence-server:7.8

一、部署 下载镜像: docker pull atlassian/confluence-server:7.8 运行镜像: docker run -d --name confluence -p 8090:8090 --user root:root atlassian/confluence-server ......

react 事件函数中 this 绑定问题

在使用类方式创建组件时,类中定义一个函数,并且绑定到元素的点击事件上,此时这个函数中this指向并不是当前这个组件。 组件代码如下: class App extends React.Component { // 组件数据 constructor() { super() this.state = { ......
函数 事件 问题 react this

Ant Design pro Component 【Schema Form - JSON 表单】依赖与顺序加载问题

记一次项目中遇到的问题,及解决方法. 使用Ant Design pro Component 【Schema Form - JSON 表单】中碰到一个依赖更新 与 首次加载表单数据冲突的问题。 问题是这样的: 表单是通过json配置生成出来的,导入的数据是一次性导入的,但是表单中有配置规则,当依赖项更 ......
表单 Component 顺序 Design Schema

Dynamics 365 导入Excel报错:Server was unable to process request.

Dynamics 365 导入Excel报错:Server was unable to process request. F12查看调用,发现是调用GetImportMapXml报错,于是到高级设置-数据管理-导入去试试,提示字段Industry未找到,后来找一下字段Industry,居然又3个,一 ......
Dynamics process request Server unable

Golang——安装git工具失败,Failed to connect to github.com port 443 after 21078 ms: Couldn't connect to server

Golang——Failed to connect to github.com port 443:Timed out 解决方案: 1、首先使用浏览器确认包是否可正常访问到 2、查看当前git是否设置了其他代理或指定的地址,由于该仓库地址下没有导致。 <code>-- 查看是否设置 git confi ......
connect to 工具 Golang Failed

windows server 直接运行 部署.NET webapi,以及IIS部署vue项目

参考链接: windows server 开启IIS: https://www.cnblogs.com/yaopengfei/p/7199550.html IIS部署vue: https://juejin.cn/post/7171745871946596383 .NET 6.0 部署: https: ......
windows 项目 server webapi NET

@Repository、@Component、@Service、@Controller之间的区别与联系

@Repository、@Component、@Service、@Controller这些注解使我们开发过程中比较常用的一些注解,今天我们就一起了解一下他们之间的区别与联系。 原文 官网引用: 在Spring2.0之前的版本中,@Repository注解可以标记在任何的类上,用来表明该类是用来执行与 ......

为什么sql server在1/2时返回0?

原文链接:http://cn.voidcc.com/question/p-ysebrehb-rq.html select cast(1/2 as decimal(9,2)) 也返回0 原因: 整数除法 select 1/2 -- 0 浮法分裂(至少有一个参数必须是浮/十进制): select 1/2 ......
server sql

React Native 打包 App 发布 iOS 及加固混淆过程

React Native 打包 App 发布 iOS 及加固混淆过程 摘要 本文将介绍如何使用 React Native 打包并发布 iOS 应用到 App Store,并介绍了如何进行应用的加固和混淆过程。 引言 发布 iOS 应用到 App Store 是一个相对复杂的过程,需要使用 Mac 电 ......
过程 Native React App iOS

create-react-app react中使用monaco-editor v0.44

在通过create-react-app创建的react应用中使用monaco-editor v0.44 下载包: npm i monaco-editor npm i monaco-editor-webpack-plugin 安装插件: 使用craco自定义webpack配置 npm i craco ......

Asp .Net Core系列:基于MySQL的DBHelper帮助类和SQL Server的DBHelper帮助类

目录MySQLDBHelperMSSQLDBHelper MySQLDBHelper app.config中添加配置 <connectionStrings> <add name="MySqlConn" connectionString="server=localhost;port=3306;user ......
DBHelper Server MySQL Core Asp

修改账户密码时提示 ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement 错误

修改账户密码时提示 ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement 错误 ......

SQL-Server 2016 通过发布订阅实现主从同步(读写分离)详解

一、环境场景 系统:Windows Server 2016 数据库:SQL Server 2016 二、目标用途 数据库主从同步,读写分离 三、操作流程 1、找到数据库服务器下的【复制】--【本地发布】,选择【新建发布】。如下图: 四、疑难问题 1、SQLServer 错误: 15404,无法获取有 ......
主从 SQL-Server Server 2016 SQL

[Vue warn]: onUnmounted is called when there is no active component instance to be associated with

[Vue warn]: onUnmounted is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during e ......
共2330篇  :2/78页 首页上一页2下一页尾页