摘要: const express = require('express');const app = express(); //设置允许跨域访问该服务.app.all('*', function (req, res, next) { res.header('Access-Control-Allow-Orig 阅读全文
posted @ 2019-11-29 10:22 刘浩2561179983 阅读(2676) 评论(0) 推荐(0) 编辑
摘要: function ifruo(value) { var m = /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{8,}$/; if (m.test(value)) { return true; } else { return fa 阅读全文
posted @ 2019-11-29 10:21 刘浩2561179983 阅读(241) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="pad20"> <input id="file" ref="file" type="file" /> <button id="send" @click="send">发送</button> <div id="progress">{{progress}}< 阅读全文
posted @ 2019-11-29 10:20 刘浩2561179983 阅读(4494) 评论(0) 推荐(0) 编辑