上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 123 下一页
摘要: 地址1 地址2 阅读全文
posted @ 2023-01-11 10:27 ThisCall 阅读(57) 评论(0) 推荐(0) 编辑
摘要: this.$nextTick(() => { this.$refs.navBox.scrollTop = 0; }); 或 this.$nextTick(() => { let scrollElem = this.$refs.scrollDiv; scrollElem.scrollTo({ top: 阅读全文
posted @ 2022-12-06 17:06 ThisCall 阅读(521) 评论(0) 推荐(0) 编辑
摘要: html, body, #app, .wrapper { width: 100%; height: 100%; /* overflow: hidden; */ -webkit-filter : grayscale(100%); -moz-filter: grayscale(100%); -o-fil 阅读全文
posted @ 2022-12-01 09:47 ThisCall 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 新开的窗口 created () { // 监听页面关闭 window.onbeforeunload = this.beforeDestroyFn; }, methods: { beforeDestroyFn () { console.log('shaqk') window.opener.postM 阅读全文
posted @ 2022-11-28 17:06 ThisCall 阅读(191) 评论(0) 推荐(0) 编辑
摘要: <van-field clickable name="XXXX" is-link readonly :value="statusValue" placeholder="请选择是否油库" @click="showStatusFn" :rules="[{ required: true, message: 阅读全文
posted @ 2022-11-22 18:04 ThisCall 阅读(2388) 评论(0) 推荐(0) 编辑
摘要: downloadFile(url, "电子作业票APP.jpg"); // fileRealPath 文件全路径 // fileName 文件名带格式的 export function downloadFile(fileRealPath, fileName) { let link = documen 阅读全文
posted @ 2022-11-04 11:47 ThisCall 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 调用 this.$download.url('/api/v1/org/question/exportData', datVal, `${this.questMess.name}.xlsx`); js文件 import { saveAs } from 'file-saver' import axios 阅读全文
posted @ 2022-11-04 11:38 ThisCall 阅读(196) 评论(0) 推荐(0) 编辑
摘要: import axios from 'axios' import { getToken } from '@/utils/util' // 文件流转blob对象下载 var baseURL = '' if (process.env.NODE_ENV == 'production') { baseURL 阅读全文
posted @ 2022-11-04 11:31 ThisCall 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 1.通用组件封装dialogImg.vue <template> <div> <el-dialog v-show="isShow" :visible.sync="isShow" width="50%" @close="seePicUrl = ''" append-to-body style="tex 阅读全文
posted @ 2022-11-04 11:29 ThisCall 阅读(626) 评论(0) 推荐(0) 编辑
摘要: 参考 一、input只能输入框只能输入正整数,输入同时禁止了以0开始的数字输入,防止被转化为其他进制的数值。<!-- 不能输入零时--><input type='text' οninput="value=value.replace(/^(0+)|[^\d]+/g,'')"> <!-- 能输入零时-- 阅读全文
posted @ 2022-11-01 11:40 ThisCall 阅读(116) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 123 下一页