摘要: 添加一个 v-if="dialogVisible" 就可解决弹出抖动问题 <el-button type="text" @click="dialogVisible = true">点击打开 Dialog</el-button> <el-dialog title="提示" v-if="dialogVi 阅读全文
posted @ 2021-03-25 09:57 茗涵 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 先安装 npm install babel-polyfill --save-dev npm install es6-promise --save-dev npm install --save axios main.js引入 import 'babel-polyfill' import promise 阅读全文
posted @ 2021-02-05 12:02 茗涵 阅读(332) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" co 阅读全文
posted @ 2021-01-29 16:14 茗涵 阅读(178) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>3D按钮DEMO演示</title> <style type="text/css"> /* start da css for da buttons */ .btn { border 阅读全文
posted @ 2021-01-29 11:13 茗涵 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 点击录屏,报错:“getDisplayMedia” of undefined,无法调用浏览器原生api,获取不了屏幕流 webpack.dev.conf.js 中配置项修改 host: 'localhost', <template> <div class="container"> <section 阅读全文
posted @ 2021-01-25 10:16 茗涵 阅读(1283) 评论(0) 推荐(0) 编辑
摘要: <template> <div id="app"> <!-- tab切换1 --> <button @click="comName = 'setLogin'">周六</button> <button @click="comName = 'login'">周天</button> <component 阅读全文
posted @ 2021-01-08 17:53 茗涵 阅读(84) 评论(0) 推荐(0) 编辑
摘要: <template> <div></div> </template> <script> export default { data() { return { // websocket websock: null, //建立的连接 lockReconnect: false, //是否真正建立连接 ti 阅读全文
posted @ 2021-01-08 15:30 茗涵 阅读(1593) 评论(0) 推荐(0) 编辑
摘要: var str='今天星期五'; console.log(str.indexOf('星期五') !=-1) //true console.log(str.search('星期五') !=-1) //true 阅读全文
posted @ 2021-01-08 10:04 茗涵 阅读(812) 评论(0) 推荐(0) 编辑
摘要: //table列表 <template> <div> <el-container style="height: 450px; border: 1px solid #eee"> <el-container> <p style="line-height:40px; padding-left: 8px;b 阅读全文
posted @ 2020-12-21 11:24 茗涵 阅读(444) 评论(0) 推荐(0) 编辑
摘要: DataV 官网 http://datav.jiaminghi.com/guide/ echarts 官网 https://echarts.apache.org/zh/index.html 下载 npm install @jiaminghi/data-view npm install echarts 阅读全文
posted @ 2020-12-21 10:54 茗涵 阅读(3051) 评论(0) 推荐(0) 编辑