E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
components
vue 3.0 静态路由配置
首先我们现在项目中建立router文件夹,如下图所示:404文件夹存放404页面,
components
文件夹存放首页界面,config为设置文件夹,diz存放具体的业务逻辑和界面,router存放我们的路由设置
timi先生
·
2024-01-07 21:13
javascript
vue.js
javascript
前端
vue全局提示插件开发-toast
前言在没有封装插件之前,如果不使用第三方插件,那么很多情况下我们会编写几个常用的组件来提供给页面使用,如Alert/Loading组件,而你可能需要在很多页面中引入并且通过
components
注册组件,
睿江云计算
·
2024-01-07 20:07
开发工具
开发
vue
vue.js
Webpack项目学习:Vue-cli(脚手架)-优化配置 -ui库element-plus+减小打包体积 -按需加载+自定义主题+优化
npmielement-plus全部引入,在入口文件main.js启动:npmstart按需引入需要插件快速开始|ElementPlus(gitee.io)npminstall-Dunplugin-vue-
components
unplugin-auto-import
¡Venceremo
·
2024-01-07 15:49
Webpack
webpack
微信小程序封装vant 下拉框select 单选组件
先上效果图:主要是用vant小程序组件封装的:vant小程序ui网址:vant-weapp主要代码如下:先封装子组件:select-popup放在
components
文件夹里面select-popup.wxml
IT博客技术分享
·
2024-01-07 14:56
微信小程序
微信小程序封装下拉框单选组件
微信小程序启用组件按需注入
微信小程序在预览或上传的时候会进行代码质量检测,有时候会提示‘组件需按需注入’,如下图所示:这是只要加一句代码"lazyCodeLoading":"required
Components
"就行了,添加的位置在
spring_007_999
·
2024-01-07 14:52
微信小程序
小程序
超详细的vue组件之间通讯的8种方式
/child.vue'exportdefault{name:'HelloWorld',
components
:{comArticle},data(){return{msg:'酥脆角'}}}{{msg}}exportdefault
酥脆角
·
2024-01-07 14:34
vue.js
javascript
前端
微信小程序——商品列表
主页面引入组件{"using
Components
":{"googsList":"..
吃素的黑猫
·
2024-01-07 14:03
微信小程序开发
前端
ubuntu下交叉编译arm64/armbian内核模块
aptupdateapt-yinstallgccmakepkg-configgitbisonflexlibelf-devlibssl-devlibncurses5-devbcwgethttps://releases.linaro.org/
components
Armlinux
·
2024-01-07 13:17
Spring-05-配置类
配置类替换的是xml文件,完全使用注解,配置类作用主要为:1.包扫描注解配置2.引入外部配置文件3.生声明第三方依赖的bean组件@
ComponentS
can({"com.dc.ioc_01"})//包扫描注解配置
菜♕卷
·
2024-01-07 11:02
SSM自学
spring
python
java
vue中tinymce的使用
[email protected]
.在node_modules中找到(我这里是vue2,vue3不是写在public下,具体的可以搜搜看看)3.在public中新建tinymce文件夹把三个文件复制进去4.在
components
不完美女孩-
·
2024-01-07 09:08
vue.js
前端
tinymce
vue登录 滑动验证,记住密码及AES加密解密
AES加密解密npminstall-Svue-puzzle-vcode//滑动验证vue2安检设备管理系统记住密码登录重置//import{openLoading,closeLoading}from"@/
components
一路向北.
·
2024-01-07 08:19
vue.js
elementui
javascript
vue2 消息弹框
/message.vue'exportdefault{
components
:{message},data(){return{value:0}},methods:{getNumsFn(val){this.value
圆脸喜欢吃菠萝
·
2024-01-07 08:55
前端
javascript
开发语言
kubectl命令中常用的缩写
kubectlgetnamespace等价于kubectlgetns-A--all-namespaces全部命名空间kubectlgetpods--all-namespace等价于kubectlgetpods-Acs
components
tatus
shanshan3003
·
2024-01-07 07:12
linux
服务器
云原生
kubectl
运维
[设计模式 Go实现] 结构型~装饰模式
decorator.gopackagedecoratortypeComponentinterface{Calc()int}typeConcrete
Components
truct{}func(*ConcreteComponent
程序员三木
·
2024-01-07 07:16
设计模式
设计模式
golang
开发语言
yii2接口为何自动返回json格式和xml
'
components
'=>['request'=>['class'=>Request::class,'csrfParam'=>"_csrf-{$moduleName}",'cookieValidationKey
poem-rain
·
2024-01-07 04:33
php
yii
vue3组件数据双向绑定
1.双向绑定传递基本数据类型父组件父组件值:{{searchText}}import{ref}from'vue'importtestfrom"@/
components
/test.vue";constsearchText
学如逆水,不进则退
·
2024-01-07 04:09
javascript
vue.js
前端
配置sass全局变量Undefined variable: “$theme-color“.
prependData:`@import"assets/css/_variable.scss";`}}},configureWebpack:{resolve:{alias:{'common':'@/common','
components
yrfjygb
·
2024-01-07 03:32
报错 Cannot read properties of undefined (reading ‘propsData‘)“ ? 看我的就行,最新解决方法
/component/HeplerMenu.vue'exportdefault{
components
:{HeplerMenu,},data(){return{current:'1',menuList:[
yrfjygb
·
2024-01-07 03:32
javascript
vue.js
前端
uniapp 创建组件组件
创建组件一、在根目录中创建
components
文件夹,右键点击新建组件。二、输入组件名称、选择默认模板、点击创建组件。三、在组件中正常编写内容即可。
小吴吴吴呀
·
2024-01-07 03:21
uni-app
安全加固之weblogic屏蔽T3协议
一、前言开放weblogic控制台的7001端口,默认会开启T3协议服务,T3协议则会触发的WeblogicServerWLSCore
Components
中存在反序列化漏洞,攻击者可以发送构造的恶意T3
有莘不破呀
·
2024-01-07 02:51
安全运维
安全
网络
服务器
中间件
模拟springboot底层实现
bilibili启动注解:@Target(ElementType.TYPE)//类注解@Retention(RetentionPolicy.RUNTIME)//运行时@Documented@Inherited@
ComponentS
can
xy294636185
·
2024-01-07 00:13
java框架
spring
boot
java
spring
vue 异步加载组件
/
components
/comB.v
花归去
·
2024-01-06 22:09
vue.js
javascript
前端
element-plus 将语言设置为中文
{ElConfigProvider}from'element-plus'importzhCnfrom'element-plus/lib/locale/lang/zh-cn'exportdefault{
components
一路向北.
·
2024-01-06 18:38
vue.js
elementui
javascript
鸿蒙开发之Touch事件拦截stopPropagation()
showcode@Entry@
Components
tructOfficialTouchPage{@Statemessage:string='touchmetouchme'staticidNumber=0build
Lu_Ca
·
2024-01-06 17:00
鸿蒙开发
鸿蒙
【react-taro-canvas】用canvas手写一个数字、字母混合的行为验证码
手写一个数字、字母混合的行为验证码实现效果源码实现效果源码importTarofrom"@tarojs/taro";import{View,Canvas,Input,Button}from"@tarojs/
components
thinkasany
·
2024-01-06 16:27
react.js
taro
javascript
canvas
vue实现画笔回放,canvas转视频播放功能
speedList.filter((item)=>item.value===nowSpeed)[0].name}}{{item.name}}exportdefault{name:"canvasVideo",
components
禾小毅
·
2024-01-06 16:19
vue3+ts
javascript
前端
vue.js
TComponent::F
ComponentS
tyle - C++ Builder
C++Builder参考手册➙TComponent➙F
ComponentS
tyle头文件:#include命名空间:System::Classes类:TComponent访问权限:protected:变量定义
玄坴
·
2024-01-06 13:14
HarmonyOS 组件通用属性之位置设置
本文我们来说通用属性中的位置设置主要是针对组件的对齐方式布局方向显示位置做过WEB开发的对流式布局应该都不陌生就是一行放内容不够放就换行我们可以先这样写@Entry@
Components
tructIndex
-耿瑞-
·
2024-01-06 13:57
ubuntu
linux
运维
讯飞云webapi接入方法
newIatRecorder()//小语种-中文方言-appIdimport{Vue,Component,Prop,Emit,Watch}from'vue-property-decorator'@Component({
components
铁甲小宝爱编程
·
2024-01-06 11:02
javascript
前端
html
2019-08-11
关于微信小程序tabar多层嵌套问题底部就不多说,中间是wx:if控制onetwothreefour在index.json中注册"component":true,"using
Components
":{"
57ea49930e13
·
2024-01-06 10:12
springboot项目打jar包报Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:3.1.2:jar
Errorinjecting:org.codehaus.plexus.archiver.jar.JarArchiverjava.lang.NoClassDefFoundError:org/codehaus/plexus/
components
Cyufeng
·
2024-01-06 08:29
maven
jar
spring
boot
vue 自定义 notice 组件、多notice 展示样式、自定义渲染内容
notices.vue删除{{title}}{{message}}importRenderCellfrom'@/libs/render';exportdefault{
components
:{RenderCell
lps2020
·
2024-01-06 07:45
vue
Kubernetes(K8s)命令大全
1.集群信息查看集群节点信息kubectlgetnodes查看集群组件状态kubectlget
components
tatus
yule.yang
·
2024-01-06 06:33
云原生
kubernetes
k8s
云原生
原生微信小程序AR(扫描指定图片显示glb模型)
效果ar案例视频准备:需要准备要扫描的图片地址和扫描成功后显示的模型1.在
components
创建组件index.js文件代码Component({properties:{title:{type:String
一只开心鸭!
·
2024-01-06 06:29
微信小程序
ar
小程序
微信小程序mpvue入坑(5)之组件封装---新增源码地址
Api微信小程序mpvue入坑(4)之vuex使用整体项目结构├──src//源文件|├──api//接口目录||└──apiPath//具体接口地址||└──index.js//接口路径封装│├──
components
wocwin
·
2024-01-06 06:53
vue
小程序
组件化
mpvue
微信小程序
vant-weapp
组件封装
原生微信小程序如何动态修改svg图片颜色及尺寸、宽高(封装svgIcon组件)
图片颜色就是修改Svg源码的path中的fill属性,通过wx.getFileSystemManager().readFile读取.xlsx文件把文件转成base64封装svg-icon组件1、在项目的
components
wocwin
·
2024-01-06 06:50
微信小程序
小程序
svg图片
修改svg图片颜色
动态修改
【dubbo学习系列】dubbo消费端的代理生成详解(@DubboReference和@Reference)
文章目录spring中dubbo实现RPC如何加载@Reference和@DubboReference注解Dubbo
ComponentS
canRegistrar概括发现@Refrence和@DubboReference
唐芬奇
·
2024-01-06 05:52
dubbo
java
dubbo
性能优化之Vue组件懒加载(二)
三种应用场景:
Components
;Router;Vuexmodules.LazyLoadinginVueusingWebpack'sCodeSplitting下面主要设计vue
components
中
卓三阳
·
2024-01-06 05:45
src目录用@代替
ts+vite+pinia+vant二、配置在vite.config.ts文件plugins同一层级加resolveexportdefaultdefineConfig({plugins:[uni(),
Components
元宵不吃汤圆
·
2024-01-06 03:45
前端
页面自适应postcss-pxtorem配置
postcss-pxtoremnpmipostcss-pxtorem三、vite.config.ts配置importpxtoremfrom"postcss-pxtorem";exportdefaultdefineConfig({plugins:[uni(),
Components
元宵不吃汤圆
·
2024-01-06 03:44
postcss
前端
javascript
vue目录结构图
项目依赖包的目录|-public--项目公用文件|--favicon.ico--网站地址栏前面的小图标|-src--源文件目录,程序员主要工作的地方|-assets--静态文件目录,图片图标,比如网站logo|-
components
小柚柚0.o
·
2024-01-06 02:45
vue
vue.js
前端
javascript
在computed中定义了el-form规则,使用validator验证,获取mounted返回的数据是,总是获取不到 -- 解决方法
/api';exportdefault{
components
:{},data(){return{maxLimitDay:'',//最大限制天数form:{day:7,open:1,hour:5,},formLabelWidth
m0_60907575
·
2024-01-06 02:21
vue.js
elementui
javascript
三、组件与数据交互
/
components
/ComponentTest.vue'第二步:挂载组件
components
:{ComponentTest}第三步:显示组件importComponentTestfrom'.
[T]
·
2024-01-06 01:53
vue
vue
vue封装基础input组件(添加防抖功能)
/MyInput.vue'exportdefault{name:'index',data(){return{inputVal:'111'}},
components
:{MyInput},watch:{inputVal
椒盐大肥猫
·
2024-01-05 23:37
面试
vue.js
前端
javascript
vue实现画出页面二维码的3种办法
利用vue-qart里自带的canvas来绘画二维码步骤1:安装npminstallvue-qart--save步骤2:在js中引入并注册成组件importVueQArtfrom"vue-qart";
components
LeeBrook0
·
2024-01-05 23:33
转载
网页前端
vue
javascript
html
Centos7 离线安装 rvm
pan.baidu.com/s/1SsCAUlXOvNOHMk9MpBsgKw提取码:gddv2.上传到服务器,执行安装新建目录,并进入目录:mkdirrvm&&cdrvm解压:tar--sctrip-
components
芥末巴士
·
2024-01-05 23:30
TComponent::
ComponentS
tyle - C++ Builder
C++Builder参考手册➙TComponent➙
ComponentS
tyle头文件:#include命名空间:System::Classes类:TComponent访问权限:public:属性定义:
玄坴
·
2024-01-05 22:55
vue-mixins混入处理
定义mixins(混入):一种分发Vue组件中可复用功能的非常灵活的方式,mixins是一个js对象,它可以包含我们组件script中的任意功能选项,如:data、
components
、methods、
小沐°
·
2024-01-05 21:49
vue
vue.js
javascript
前端
【精讲】vue框架 vue组件中的ref、props传值并修改、混合(子组件重复部分利用混合可以减少代码量的重复编写)
$refs.xxx-->点我输出上方的dom//引入school组件importschoolfrom'.
components
/school.vue'exportdefault{name:'App',
components
共创splendid--与您携手
·
2024-01-05 21:17
vue框架
前端
vue.js
前端
javascript
react 自定义拖拽排序列表
附上官网链接ReactSortableHigher-order
Components
对应git源码https://github.com/clauderic/re
我要当前端工程师
·
2024-01-05 18:35
react
react.js
前端
javascript
上一页
25
26
27
28
29
30
31
32
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他