06 2020 档案
摘要:sudo pm2 start xxxx // 启动服务 sudo pm2 save // 保存服务 sudo pm2 startup // 把已启动服务加到systemd中 sudo systemctl reboot // 重启,发现之前的服务都已经启动 sudo pm2 unstartup sys
阅读全文
摘要:参考:https://help.aliyun.com/document_detail/148895.html
阅读全文
摘要:const request = extend({ errorHandler, // 默认错误处理 // credentials: 'include', // 默认请求是否带上cookie prefix: prefix, // 请求前缀 '/api/v1' }); 屏蔽掉 credentials: '
阅读全文
摘要:watch: { $route(to, from) { this.getInfo() } }
阅读全文
摘要:1.下载安装 https://www.flash.cn/ flash 2.设置 chorme 支持 flash 点击左上角不安全 图标 ,将flash 选项设置为允许。会提示重新刷新浏览器加载。刷新后flash 生效。
阅读全文
摘要:form 表单不提交时怎么把表单数据抛出到父组件? onChange(e) { this.$nextTick(() => { this.form.validateFields((err, values) => { if (!err) { values = this.valuesTransform(v
阅读全文
摘要:this.$form.createForm(this, { name: 'form' }) <from :form="form"></form> 获取不到值 this.buyForm.getFieldsValue() 原因:标签忘写 a 前缀 <a-from :form="form"></a-for
阅读全文