diff --git a/src/components/UploadForm.vue b/src/components/UploadForm.vue index bdc64cb..55f2498 100644 --- a/src/components/UploadForm.vue +++ b/src/components/UploadForm.vue @@ -33,17 +33,17 @@
- + - + - + @@ -197,6 +197,9 @@ computed: { urlSize() { // 移动端为small return window.innerWidth < 768 ? 'small' : 'default' + }, + disableTooltip() { + return window.innerWidth < 768 } }, mounted() { diff --git a/src/views/AdminDashBoard.vue b/src/views/AdminDashBoard.vue index b59659f..d8f2b39 100644 --- a/src/views/AdminDashBoard.vue +++ b/src/views/AdminDashBoard.vue @@ -11,7 +11,7 @@ 记录总数量: {{ Number }}
- + @@ -24,19 +24,19 @@ - + - + - + - + - +
@@ -51,22 +51,22 @@
- + - + - + - + @@ -208,6 +208,9 @@ computed: { }, tablePreviewSpan() { return window.innerWidth > 768 ? 2 : 1; + }, + disableTooltip() { + return window.innerWidth < 768; } }, watch: { diff --git a/src/views/CustomerConfig.vue b/src/views/CustomerConfig.vue index 5698792..7328319 100644 --- a/src/views/CustomerConfig.vue +++ b/src/views/CustomerConfig.vue @@ -4,13 +4,13 @@
用户管理
- + - + - +
@@ -37,7 +37,10 @@ export default { } }, computed: { - ...mapGetters(['credentials']) + ...mapGetters(['credentials']), + disableTooltip() { + return window.innerWidth < 768; + } }, methods: { async fetchWithAuth(url, options = {}) { diff --git a/src/views/UploadHome.vue b/src/views/UploadHome.vue index 7a8feb7..30ad4ed 100644 --- a/src/views/UploadHome.vue +++ b/src/views/UploadHome.vue @@ -3,22 +3,22 @@ Background Image Background Image
- + - + - + - + @@ -145,6 +145,9 @@ export default { }, dialogWidth() { return window.innerWidth > 768 ? '40%' : '80%' + }, + disableTooltip() { + return window.innerWidth < 768 } }, mounted() {