gemercheung 1 年之前
父节点
当前提交
f72ccea37c
共有 3 个文件被更改,包括 2 次插入3 次删除
  1. 1 1
      package.json
  2. 0 1
      src/components/Container.vue
  3. 1 1
      src/config.json

+ 1 - 1
package.json

@@ -4,7 +4,7 @@
   "version": "0.0.0",
   "type": "module",
   "scripts": {
-    "dev": "vite",
+    "dev": "vite --host=0.0.0.0",
     "build": "vite build",
     "preview": "vite preview"
   },

+ 0 - 1
src/components/Container.vue

@@ -15,7 +15,6 @@ watchEffect(() => {
     if (props.url) {
         frameUrl.value = `${props.url}?t=${Date.now()}`
     }
-
 })
 
 </script>

+ 1 - 1
src/config.json

@@ -4,7 +4,7 @@
         "type": "link",
         "zhName": "主頁",
         "enName": "home",
-        "url": "https://www.4dmodel.com/UICcode/code/?from=timeline&isappinstalled=0#/"
+        "url": "/"
     },
     {
         "id": "official_website",