摘要: import axios from 'axios' import { showToast } from 'vant' import tools from '@/tools' const $http = axios.create({ baseURL: baseURL, timeout: 1000 * 阅读全文
posted @ 2023-03-02 13:58 愚公不移山 阅读(70) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="drp_component" :class="classname"> <p @click="openDrp" class="ws-n" ref="drpDef" title=""> <slot></slot> </p> </div> <transitio 阅读全文
posted @ 2023-02-07 09:37 愚公不移山 阅读(108) 评论(0) 推荐(0) 编辑
摘要: timeRules(v, row, field) { if (!v) return; let arr = v.split("").filter((item) => /^[0-9]*$/.test(item)); let len = arr.length; arr.length = 8; arr.fi 阅读全文
posted @ 2022-08-31 10:46 愚公不移山 阅读(67) 评论(0) 推荐(0) 编辑
摘要: <template> <div @touchstart="handelTouchStart" @touchend="handelTouchend" class="newbox"> <slot></slot> </div> </template> <script> export default { d 阅读全文
posted @ 2022-07-12 11:48 愚公不移山 阅读(757) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2022-01-04 14:31 愚公不移山 阅读(925) 评论(1) 推荐(0) 编辑
摘要: import XLSX from "xlsx"; var wb = XLSX.utils.table_to_book(this.$refs.scrollTable, { raw: true, // 这是个坑, 为true是保留数据原格式,为false会自动转换格式,如 513465888554455 阅读全文
posted @ 2022-01-04 11:32 愚公不移山 阅读(162) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示