logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Vscode 设置html标签不要自动换行

Vscode 设置html标签不要自动换行1、安装两个格式化插件(vetur、prettier)二、找到vueter的配置格式的json文件三、添加代码防止html标签自动换行// 禁止html标签自动换行"vetur.format.defaultFormatter.html": "js-beautify-html","vetur.format.defaultFormatter.js": "vsc

#vscode#html
npm 报错: npm ERR! code ERESOLVE , npm ERR! code E404

npm 报错:PS D:\Software\HBuilderX\Workspace\vant\vant-demo\vant\vue2> npm installnpm ERR! code ERESOLVEnpm ERR! ERESOLVE unable to resolve dependency treenpm ERR!npm ERR! While resolving: vant-demo-v

#vue.js#javascript
解决Vue-Router报错:vue-router.esm.js:17 [vue-router] <router-link>‘s tag prop is deprecated and has been

在中使用了tag属性就报错:[vue-router] 's tag prop is deprecated and has been removed in Vue Router 4. Use the v-slot API to remove this warning: https://next.router.vuejs.org/guide/migration/#removal-of-event-an

#vue.js#javascript#前端
Vue终端取消vue、prettier警告warn

使用vue-cli创建时,选择了linter/formatter检查代码格式就会有警告和报错如下,警告:代码中的换行不符合规范,要删除。我裂开如果在这堆warn中有一个error,还要找好久。在.eslintrc.js这个隐藏文件中可以设置开发和生产模式是否在控制台显示警告代码。取消警告方法:rules: {// 原始设置:在开发模式中显示警告// "no-console": process.en

#vue.js
方格计数问题

方格计数问题代码简化至10行问题:如图所示,在二维平面上有无数个1x1的小方格。我们以某个小方格的一个顶点为圆心画一个半径为1000的圆。请计算出这个圆里有多少个完整的小方格?源代码:public class GridCount {public static void main(String args[]) {int radius = 3, count = 0;for (i...

利用Java语言制作关机小程序

本程序用到了Java的图形化界面,运行后弹出一个方框窗口,文本框下方是提示,看清提示后可以输入英文大/小写答案,若输入出错,则在60秒后关机,若在此期间,改窗口丢失焦点,则弹出提示框,并在15秒后关机。由于这是本人早期学习Java时编写的程序,所以Bug较多,敬请谅解!以下是源代码package test;import java.io.*;import javax.swing.*;imp...

最长子回文算法

最长子回文算法简化至28行问题:将一串字符中的最长子回文找出,请编写程序实现源代码:public class TheLongestPalindrome {public static void main(String args[]) {System.out.println(compute("abcdnmpoiopnjklba"));}static String compute...

#算法
HTML鼠标事件(单击,双击,悬停,按下,移动)

在html中,元素可用onclick、ondblclick、onmouseover、onmouseout、onmousedown、onmouseup、onmousemove来对鼠标的各种事件进行响应。本例演示了鼠标对元素的单击、双击、悬停、移走、按下、松开、在元素内的移动来更改元素的背景色。eg:<head><meta charset="utf-8">&lt...

HTML+CSS3的购物网站(首页+商品页+购买页)

index.html<!DOCTYPE html><html><head><meta charset="utf-8"><link rel="stylesheet" href="css/base.css" /><link rel="stylesheet" href="css/index.css" /><title>&

仙剑奇侠传7报错:the following components are required to run this program.microsoft visual c++ 2015 runtime

仙剑奇侠传7报错:the following components are required to run this program.microsoft visual c++ 2015 runtime1. 找到Steam的环境安装包报错了不要急,在自己的Steam的目录下会有游戏支持环境安装包,不用自己下载,目录如下:2. 执行安装包64位系统安装:VC_redist.x64.exe32位系统安装

#microsoft#ar#c++
    共 16 条
  • 1
  • 2
  • 请选择