03 2022 档案

摘要:一、代码 import VueResource from 'vue-resource' Vue.use(VueResource) //网络请求拦截器 Vue.http.interceptors.push(function(request, next){ //设置请求地址 request.url = 阅读全文
posted @ 2022-03-30 14:53 样子2018 阅读(77) 评论(0) 推荐(0)
摘要:一、随笔 Vue3 之pinia状态管理 Vue3 之defineProps、defineEmits和defineExpose说明 Vue3 之dialog弹框简单制作 Vue3 之vite.config.js配置 Vue3 之简单制作scroll组件 Vue3 之制作toast插件 Vue3 之h 阅读全文
posted @ 2022-03-30 14:32 样子2018 阅读(176) 评论(0) 推荐(0)
摘要:一、安装与使用 npm install --save js-base64 let Base64 = require('js-base64').Base64; Base64.encode(''); // 加密 Base64.decode(''); // 解密 阅读全文
posted @ 2022-03-30 14:31 样子2018 阅读(686) 评论(0) 推荐(0)
摘要:一、安装与使用 npm install vue-cookies 在main.js中引入cookies import Vue from 'vue' import VueCookies from 'vue-cookies' Vue.use(VueCookies) 二、基本API 1、设置全局配置,设置c 阅读全文
posted @ 2022-03-29 15:54 样子2018 阅读(2981) 评论(0) 推荐(0)
摘要:一、功能 WeixinJSBridge.call('closeWindow'); //关闭当前页面 WeixinJSBridge.call('hideToolbar'); //隐藏右下面工具栏 WeixinJSBridge.call('showToolbar'); //显示右下面工具栏 Weixin 阅读全文
posted @ 2022-03-28 08:56 样子2018 阅读(342) 评论(0) 推荐(0)
摘要:一、效果图 阅读全文
posted @ 2022-03-24 10:39 样子2018 阅读(412) 评论(0) 推荐(0)
摘要:更新说明 2022-03-17 新增上传图片、视频、文件组件 一、效果图 演示:https://yangsphp.github.io/vue-admin/index.html 二、源码 下载:https://gitee.com/yang1015/vue-admin 阅读全文
posted @ 2022-03-11 10:17 样子2018 阅读(944) 评论(0) 推荐(0)
摘要:一、说明 $on:监听事件 $emit:触发监听事件 二、代码 1、本页面 <template> <section> <h1>left</h1> <el-button type="primary" @click="isClick">点击</el-button> </section> </templa 阅读全文
posted @ 2022-03-08 14:16 样子2018 阅读(263) 评论(0) 推荐(0)
摘要:下载地址:https://github.com/yangsphp/contract-master 一、效果图 阅读全文
posted @ 2022-03-04 10:56 样子2018 阅读(233) 评论(0) 推荐(0)
摘要:一、查找 打开viewer.js 搜索 setTitleUsingUrl定位到代码如图位置 二、修改 setTitleUsingUrl: function pdfViewSetTitleUsingUrl(url) { this.url = url; try { this.setTitle((TITL 阅读全文
posted @ 2022-03-03 10:19 样子2018 阅读(1123) 评论(0) 推荐(0)
摘要:一、效果图 二、代码 1、1.1.9版本 https://gitee.com/yang1015/pdf-reader 使用:viewer.html中 2、pdfjs-2.5.207版本 https://gitee.com/yang1015/pdf-reader2 使用:http://localhos 阅读全文
posted @ 2022-03-02 15:58 样子2018 阅读(284) 评论(0) 推荐(0)