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 阅读(71) 评论(0) 推荐(0) 编辑
摘要:一、随笔 Vue3 之hooks 使用详解教程 Vue3 之ref与reactive的区别 Vue 之混入(mixin)详细介绍 Vue 之filter过滤器 Vue 之vue-ueditor-wrap自定义按钮 Vue 之vue-resource拦截器使用 Vue 之使用Base64 Vue 之使 阅读全文
posted @ 2022-03-30 14:32 样子2018 阅读(154) 评论(0) 推荐(0) 编辑
摘要:一、安装与使用 npm install --save js-base64 let Base64 = require('js-base64').Base64; Base64.encode(''); // 加密 Base64.decode(''); // 解密 阅读全文
posted @ 2022-03-30 14:31 样子2018 阅读(673) 评论(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 阅读(2968) 评论(0) 推荐(0) 编辑
摘要:一、功能 WeixinJSBridge.call('closeWindow'); //关闭当前页面 WeixinJSBridge.call('hideToolbar'); //隐藏右下面工具栏 WeixinJSBridge.call('showToolbar'); //显示右下面工具栏 Weixin 阅读全文
posted @ 2022-03-28 08:56 样子2018 阅读(313) 评论(0) 推荐(0) 编辑
摘要:一、效果图 阅读全文
posted @ 2022-03-24 10:39 样子2018 阅读(401) 评论(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 阅读(932) 评论(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 阅读(258) 评论(0) 推荐(0) 编辑
摘要:下载地址:https://github.com/yangsphp/contract-master 一、效果图 阅读全文
posted @ 2022-03-04 10:56 样子2018 阅读(214) 评论(0) 推荐(0) 编辑
摘要:一、查找 打开viewer.js 搜索 setTitleUsingUrl定位到代码如图位置 二、修改 setTitleUsingUrl: function pdfViewSetTitleUsingUrl(url) { this.url = url; try { this.setTitle((TITL 阅读全文
posted @ 2022-03-03 10:19 样子2018 阅读(1044) 评论(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 阅读(273) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示