Browse Source

feat: vscode 插件开发

王家程 3 years ago
parent
commit
26ebf8162e
4 changed files with 15 additions and 5 deletions
  1. 11 0
      package.json
  2. 1 1
      plugin/dbData/db.json
  3. 1 2
      plugin/index.html
  4. 2 2
      src/layouts/DefaultLayout/DefaultHeader/index.vue

+ 11 - 0
package.json

@@ -16,6 +16,17 @@
 	],
   "main": "./extension.js",
   "contributes": {
+    "configuration": {
+			"type": "object",
+			"title": "绘开发提效平台",
+			"properties": {
+				"openHuiKaiFa.src": {
+					"type": "string",
+					"default": "http://192.168.0.243:3211/dashboard",
+					"description": "设计器远程链接"
+				}
+			}
+		},
 		"commands": [
 			{
 				"command": "extension.openHuiKaiFa",

+ 1 - 1
plugin/dbData/db.json

@@ -1 +1 @@
-{}
+{"DRAWING_ITEMS_VERSION":"1.0","drawingItems":"[]","idGlobal":"100"}

+ 1 - 2
plugin/index.html

@@ -2,7 +2,7 @@
  * @Author: wjc
  * @Date: 2021-12-22 10:03:00
  * @LastEditors: wjc
- * @LastEditTime: 2021-12-22 10:03:00
+ * @LastEditTime: 2021-12-24 14:46:02
  * @Description: 
 -->
 <!DOCTYPE html>
@@ -108,7 +108,6 @@
 
 <body>
   <div class="pre-loader" id="pre-loader">
-    123
     <div class="inner one"></div>
     <div class="inner two"></div>
     <div class="inner three"></div>

+ 2 - 2
src/layouts/DefaultLayout/DefaultHeader/index.vue

@@ -2,7 +2,7 @@
  * @Author: WangJiaCheng
  * @Date: 2021-05-06 17:52:07
  * @LastEditors: wjc
- * @LastEditTime: 2021-09-24 11:00:02
+ * @LastEditTime: 2021-12-24 14:57:32
  * @Description:
 -->
 <template>
@@ -11,7 +11,7 @@
       title="绘开发"
     />
     <span>
-      <span class="name">wjc</span><el-avatar icon="el-icon-user-solid" />
+      <span class="name">绘管家</span><el-avatar icon="el-icon-user-solid" />
     </span>
   </el-header>
 </template>