对应的文件右键 水哥复制 可以复制当前路径 支持vue 跟uniapp 项目
在更目录下面新建sg.json 可以配置自动引入功能,
{
"script": {
"router": {
"name": "{router,route}",
"value": "@/router",
"const": "const route = new Router,\n const router = new Router()"
},
"route": {
"name": "{router,route}",
"value": "@/router",
"const": "const route = new Router\nconst router = new Router()"
},
"ElMessage": {
"name": "{ ElMessage, ElMessageBox }",
"value": "element-plus",
"const": ""
},
"ElMessageBox": {
"name": "{ ElMessage, ElMessageBox }",
"value": "element-plus",
"const": ""
}
}
}
代码片段
css 部分
sg-1行溢出隐藏
sg-2行溢出隐藏
script 部分
sg-res 接口try模板
sg-form区域
sg-时间范围
sg-下拉