瀏覽代碼

fix(manifest): 更新微信小程序配置,启用es6和代码压缩

feige996 11 月之前
父節點
當前提交
41bd05fd0f
共有 2 個文件被更改,包括 4 次插入2 次删除
  1. 3 1
      src/manifest.json
  2. 1 1
      src/pages/about/components/upload.vue

+ 3 - 1
src/manifest.json

@@ -85,7 +85,9 @@
   "mp-weixin": {
     "appid": "wxa2abb91f64032a2b",
     "setting": {
-      "urlCheck": false
+      "urlCheck": false,
+      "es6": true,
+      "minified": true
     },
     "usingComponents": true
   },

+ 1 - 1
src/pages/about/components/upload.vue

@@ -22,7 +22,7 @@
 </template>
 
 <script lang="ts" setup>
-const { loading, data, run } = useUpload({ user: '菲鸽' })
+const { loading, data, run } = useUpload()
 </script>
 
 <style lang="scss" scoped>