上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: props: { channel: [Numbre, String, Object], required: true, default: '0' } 阅读全文
posted @ 2020-10-22 21:17 缔造cool 阅读(695) 评论(0) 推荐(0)
摘要: export const getUserInfo = () => { return: 'GET', url: '/app/v123/user', // 发送请求请求头数据 headers: { // 注意: 该接口需要授权才能访问 // token的数据格式: Bearer token 数据,注意 阅读全文
posted @ 2020-10-22 21:13 缔造cool 阅读(1787) 评论(0) 推荐(1)
摘要: 1. 创建 vue create XXX or vue ui 2.初始化 阅读全文
posted @ 2020-10-22 21:07 缔造cool 阅读(162) 评论(0) 推荐(0)
摘要: js中arguments的用法 了解arguments这个对象之前先来认识一下javascript的一些功能: 其实Javascript并没有重载函数的功能,但是Arguments对象能够模拟重载。Javascrip中每个函数都会有一个Arguments对象实例arguments,它引用着函数的实参 阅读全文
posted @ 2020-10-22 20:35 缔造cool 阅读(178) 评论(0) 推荐(0)
摘要: UserInformationRules: { username: [{ required: true, message: '姓名不能为空' }, { pattern: /^[\u4e00-\u9fa5]{2,6}$/, message: '姓名格式不正确' }], mobile: [{ requi 阅读全文
posted @ 2020-10-16 09:38 缔造cool 阅读(143) 评论(0) 推荐(0)
摘要: < &lt; <= &le; > &gt; >= &ge; 阅读全文
posted @ 2020-10-15 17:07 缔造cool 阅读(68) 评论(0) 推荐(0)
摘要: async onConfirm() { this.$toast.loading({ message: '保存中...', forbidClick: true, // 禁止背景点击 duration: 0 // 持续展示 }) try { const localGender = this.localG 阅读全文
posted @ 2020-10-11 15:53 缔造cool 阅读(2227) 评论(0) 推荐(0)
摘要: // 引入axios import axios from 'axios' // 基本路径 axios.defaults.baseURL = 'http://127.0.0.1:8888/api/private/v1/' // 挂载 Vue.prototype.$http = axios axios. 阅读全文
posted @ 2020-10-11 09:59 缔造cool 阅读(101) 评论(0) 推荐(0)
摘要: import JSONBig from 'json-bigint' //json-binint插件可以处理js有效数字超出问题 const request = axios.create({ baseURL: 'http://ttapi.research.itcast.cn/', // 基础路径 // 阅读全文
posted @ 2020-10-11 09:55 缔造cool 阅读(4483) 评论(0) 推荐(0)
摘要: 1.下载到项目中cnpm i github-markdown-css 2.将样式放到模块化vue目录下,然后在 style中导入 <style scoped lang="less"> @import './github-markdown.css'; </style> 3.在vue脚手架中的 .pos 阅读全文
posted @ 2020-10-07 19:34 缔造cool 阅读(2448) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页