ソースを参照

名片只传正面会卡死的问题

zhoujump 2 ヶ月 前
コミット
1b0ef25409
2 ファイル変更2 行追加2 行削除
  1. 1 1
      src/router/index.js
  2. 1 1
      src/views/components/expoPopover.vue

+ 1 - 1
src/router/index.js

@@ -226,7 +226,7 @@ export const constantRoutes = [
   { path: '*', redirect: '/404', hidden: true }
 ]
 const createRouter = () => new Router({
-  // mode: 'history', // require service support
+  mode: 'history', // require service support
   scrollBehavior: () => ({ y: 0 }),
   routes: constantRoutes
 })

+ 1 - 1
src/views/components/expoPopover.vue

@@ -27,7 +27,7 @@ export default Vue.extend({
     },
     copyUrl() {
       let rootPath = window.location.origin
-      navigator.clipboard.writeText(rootPath+'/#/user/form/'+this.popover_data.urla)
+      navigator.clipboard.writeText(rootPath+'/user/form/'+this.popover_data.urla)
       this.$message.success('复制成功')
     }
   }