1.打开windows 控制面板 2.输入 vue create -p dcloudio/uni-preset-vue test 3.开始弄npm run serve 如果新增加的页面中用了scss 需要手动安装 npm install -D sass-loader@7.x 如果用版本太高了 会导致 ...
分类:
移动开发 时间:
2021-02-17 14:05:32
阅读次数:
0
The connection to the server 192.168.1.11:6443 was refused - did you specify the right host or port? 怀疑是不是kubelet挂了,检查 [root@master1 prometheus]# syst ...
分类:
移动开发 时间:
2021-02-16 12:26:05
阅读次数:
0
使用namedtuple方法可以代替手动生成一个类 # Why Python is Great: Namedtuples # Using namedtuple is way shorter than # defining a class manually: >>> from collections ...
分类:
编程语言 时间:
2021-02-16 12:02:48
阅读次数:
0
jq Bash, unfortunately, doesn’t ship with a command that can work with JSON natively. In this lesson, we’ll learn how to read and do basic queries on ...
分类:
Web程序 时间:
2021-02-15 12:41:34
阅读次数:
0
The testing code for LX COG 12864R1. You can search the product in T-A-O-B-A-O. #define CS 2 #define RST 3 #define DC 4 #define SCL 21 #define SDA 20 ...
分类:
其他好文 时间:
2021-02-15 12:05:36
阅读次数:
0
1 在main.js中添加如下代码 import Vue from 'vue' import App from './App.vue' import router from './router' // 路由发生变化修改页面title router.beforeEach((to, from, next ...
分类:
其他好文 时间:
2021-02-15 12:02:51
阅读次数:
0
Go语言标准库log介绍 无论是软件开发的调试阶段还是软件上线之后的运行阶段,日志一直都是非常重要的一个环节,我们也应该养成在程序中记录日志的好习惯。 log Go语言内置的log包实现了简单的日志服务。本文介绍了标准库log的基本使用。 使用Logger log包定义了Logger类型,该类型提供 ...
分类:
编程语言 时间:
2021-02-10 13:08:40
阅读次数:
0
背景:在vscode中看到好多人提交了错误答案,至此刻没有看到对的答案。哈哈 解法: function computeProduct(arr) { let max = 0 let zarr = [],farr = [] if(arr.length 3){ max = arr[0]*arr[1]*ar ...
分类:
编程语言 时间:
2021-02-10 13:07:31
阅读次数:
0
原题 1 class Solution: 2 def intersect(self, nums1: List[int], nums2: List[int]) -> List[int]: 3 dic1,dic2 = {},{} 4 def helper(nums,dic): 5 for n in nu ...
分类:
编程语言 时间:
2021-02-10 12:50:25
阅读次数:
0
什么是Semaphore信号量: Semaphore(信号量)是用来控制同时访问特定资源的线程数量,它通过协调各个线程,以保证合理的使用公共资源。 正常的锁(synchronized锁或Lock锁)在任何时刻都只允许一个任务访问一项资源,而Semaphore允许n个任务访问这个资源。 API: Se ...
分类:
编程语言 时间:
2021-02-09 12:33:43
阅读次数:
0