Skip to content

Commit

Permalink
[fix] hide button
Browse files Browse the repository at this point in the history
  • Loading branch information
Diving-Fish committed Aug 27, 2024
1 parent 357fa08 commit 45165c0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hello-world",
"version": "0.1.0",
"name": "maimaidx-prober",
"version": "1.0.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
5 changes: 5 additions & 0 deletions web/src/components/Profile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@
</v-card-actions>
</v-card>
</v-dialog>
<developer-token />
<v-spacer />
<v-btn color="primary" @click="submit">保存</v-btn>
<v-btn @click="visible = false">取消</v-btn>
Expand All @@ -215,7 +216,11 @@
<script>
import axios from "axios";
import watchVisible from '../plugins/watchVisible';
import DeveloperToken from '../components/DeveloperToken.vue';
export default {
components: {
DeveloperToken,
},
props: {
available_plates: Function,
},
Expand Down
3 changes: 0 additions & 3 deletions web/src/pages/MainPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
</v-card>
</v-dialog>
<recovery :visible="true" />
<developer-token :visible="username !== '未登录'" />
<v-dialog width="1000px" :fullscreen="$vuetify.breakpoint.mobile" v-model="dialogVisible">
<template #activator="{ on, attrs }">
<v-btn class="mt-3 mr-4" v-bind="attrs" v-on="on">导入数据</v-btn>
Expand Down Expand Up @@ -466,7 +465,6 @@ import Recovery from "../components/Recovery.vue";
import watchVisible from "../plugins/watchVisible";
import ChuniOverPowerCalculators from "@/components/ChuniOverPowerCalculators";
import ScoreCoefficient from '../scripts/ScoreCoefficient';
import DeveloperToken from '../components/DeveloperToken.vue';
const xpath = require("xpath"),
dom = require("xmldom").DOMParser;
const DEBUG = false;
Expand All @@ -488,7 +486,6 @@ export default {
PlateQualifier,
Calculators,
Tutorial,
DeveloperToken,
},
data: function () {
return {
Expand Down

0 comments on commit 45165c0

Please sign in to comment.