上一页 1 2 3 4 5 6 7 ··· 14 下一页
  2023年6月7日
摘要: 您也可以使用 Axios 库来发送请求,以下是发送表单请求的示例代码: const axios = require('axios'); function uploadStringToOSS(ossPostData, content) { const formData = new FormData() 阅读全文
posted @ 2023-06-07 18:57 稳住别慌 阅读(126) 评论(0) 推荐(0)
  2023年6月2日
摘要: .icon-list { display: grid; grid-template-columns: repeat(5, 1fr); /* 划分为5列 */ grid-template-rows: repeat(5, 1fr); /* 划分为5行 */ gap: 12px; /* 间隔为12像素 * 阅读全文
posted @ 2023-06-02 15:04 稳住别慌 阅读(86) 评论(0) 推荐(0)
  2023年5月22日
摘要: <qrcode-vue :value="record.download_page" width="200" ></qrcode-vue> import QrcodeVue from 'qrcode.vue' components: { QrcodeVue }, 阅读全文
posted @ 2023-05-22 17:22 稳住别慌 阅读(113) 评论(0) 推荐(0)
  2023年5月19日
摘要: 1、vue什么时候进行虚拟dom对比 Vue 在更新组件时会先创建一个新的虚拟 DOM 树,然后与旧的虚拟 DOM 树进行对比,从而找出两个树之间的差异性,进而只对差异性进行更新操作。这个过程就是所谓的虚拟 DOM 对比。 对比虚拟 DOM 的时机,主要是在组件更新操作中进行。当 Vue 检测到组件 阅读全文
posted @ 2023-05-19 15:30 稳住别慌 阅读(85) 评论(0) 推荐(0)
摘要: 1、v-bind(1)v-bind 是单向数据绑定,用来绑定数据和属性以及表达式,数据只能从data流向页面;(2)v-bind 的缩写是“:”,也就是v-bind:id 等价于 :id(3)适用于 class、style、value2、v-model(1)v-modal 是双向数据绑定,用在表单控 阅读全文
posted @ 2023-05-19 14:17 稳住别慌 阅读(412) 评论(0) 推荐(0)
  2023年5月9日
摘要: <a-select v-model="form.region" show-search placeholder="请选择" option-filter-prop="children" @search="handleSearch" @popupScroll="handlePopupScroll" > 阅读全文
posted @ 2023-05-09 16:24 稳住别慌 阅读(279) 评论(0) 推荐(0)
  2023年4月25日
摘要: // window.open(url, "_blank"); const iframe = document.createElement("iframe"); iframe.src = url; iframe.style.display = "none"; document.body.appendC 阅读全文
posted @ 2023-04-25 16:51 稳住别慌 阅读(23) 评论(0) 推荐(0)
  2023年4月8日
摘要: :rules="[ { required: true, trigger: 'blur', validator: this.checkCanonical }, ]" checkCanonical (rule, value, callback) { if (value) { let isReg = tr 阅读全文
posted @ 2023-04-08 14:12 稳住别慌 阅读(185) 评论(0) 推荐(0)
摘要: checkCanonical (rule, value, callback) { if (value) { let isReg = true try { isReg = eval(value) instanceof RegExp } catch (e) { isReg = false } retur 阅读全文
posted @ 2023-04-08 14:06 稳住别慌 阅读(19) 评论(0) 推荐(0)
  2023年3月31日
摘要: mounted() { document.addEventListener("click", (e) => this.fintParent(e)); }, methods: { fintParent(e) { const clickNode = e.srcElement; let parent = 阅读全文
posted @ 2023-03-31 15:59 稳住别慌 阅读(51) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 14 下一页