# css **Repository Path**: siguohui/css ## Basic Information - **Project Name**: css - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-10-31 - **Last Updated**: 2021-12-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # css ## Project setup ``` npm install ``` ### Compiles and hot-reloads for development ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Lints and fixes files ``` npm run lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). https://www.iconfont.cn/ https://transfonter.org/ https://www.cnblogs.com/fashandian/p/6880892.html https://www.cnblogs.com/fashandian/p/6880892.html https://blog.csdn.net/SmileLvCha/article/details/86495431 选择图片 添加购物篮 下载代码 ok https://element.eleme.cn/#/zh-CN/component/installation https://github.com/MisterTaki/vue-table-with-tree-grid cmd --> vue ui --> 依赖-->安装依赖-->运行环境-->vue-table-with-tree-grid 0.2.4 --> 安装 vue-table-with-tree-grid npm install qs //在main.js引入qs import qs from 'qs' //配全局属性配置,在任意组件内可以使用this.$qs获取qs对象 Vue.prototype.$qs = qs let para = this.$refs.queryName.value; let obj={name:para}; //qs.parse()是将URL解析成对象的形式 let query = this.$qs.parse(obj); this.$http.patch("/department/queryByName",query) qs.parse()是将URL解析成对象的形式 qs.stringify()将对象 序列化成URL的形式以&进行拼接 const { data: res } = await this.$http.put('categories/' + this.editCateForm.id, this.$qs.stringify({ name: this.editCateForm.name })) JSON 的stringify方法 与 Qs.stringify方法 {"uid":"cs11","pwd":"000000als","username":"cs11","password":"000000als"} uid=cs11&pwd=000000als&username=cs11&password=000000als 如上所示,前者是采用JSON.stringify(param)进行处理,后者是采用Qs.stringify(param)进行处理的。 const { data: res } = await this.$http.delete(`categories/${id}`, { data: { id: 1 } }) const { data: res } = await this.$http.post(`categories/${id}`, { id: 1 })