Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
SunWuyuan committed Aug 30, 2024
1 parent c234311 commit d4c7a6d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions src/components/AppHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,13 @@
@click="trylogout"></v-list-item>

</div>
<div>
<v-list-subheader>工具</v-list-subheader>

<v-list-item rounded="xl" prepend-icon="mdi-download" title="桌面版镜像" value="asdm" to="/asdm"></v-list-item>


</div>
</v-list>
</v-navigation-drawer>
<NewProjectDialog ref="NewProjectDialog" />
Expand Down
6 changes: 4 additions & 2 deletions src/pages/asdm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,17 @@ export default {
{ state: '自定义', abbr: '' },

],
loading: false
loading: false,
scratch_proxy: import.meta.env.VITE_APP_SCRATCH_PROXY,

};

},

created() {
this.loading = true
this.release.stat = 0
request.get('https://scratch.192325.xyz/asdm')
request.get(scratch_proxy+'/asdm')
.then(res => {
this.release.stat = 1
this.release.url.windows = res.assets.
Expand Down

0 comments on commit d4c7a6d

Please sign in to comment.