leo 1 anno fa
parent
commit
104c29fa3e

BIN
assets/image/claimCloudPhone/claim-mobile-phone-btn.png


+ 0 - 3
nuxt.config.js

@@ -65,9 +65,6 @@ export default {
     '~/assets/style/main.scss',
     'vant/lib/index.css'
   ],
-  generate: {
-    routes: ['/claimCloudPhone/0', '/claimCloudPhone/1', '/claimCloudPhone/2', '/claimCloudPhone/3', '/claimCloudPhone/4', '/claimCloudPhone/4'] // 指定动态路由
-  },
   // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
   plugins: [
     // '~/plugins/api',

+ 1 - 1
pages/claimCloudPhone/purchase.vue

@@ -127,7 +127,7 @@ export default {
       currentData: {},
       packageType: {
         VIP: '星动',
-        SVIP: '星耀',
+        SVIP: '星',
         STARRYSKY: '星空',
         STAR: '唔即',
         STARPRO: '唔即Pro',

+ 2 - 1
plugins/plugins.js

@@ -24,7 +24,8 @@ export function writeToClipboard(text, success = () => { }, error = () => { }) {
             setTimeout(() => {
                 navigator.clipboard.writeText(text).then(() => {
                     success()
-                }).catch(() => {
+                }).catch((error) => {
+                    alert(error)
                     error()
                 })
             }, 0);