Explorar o código

fix(miniapp): 修复编译错误(补充scan-login.json,移除main.js中不存在的login-sheet引用)

liaoxg hai 1 día
pai
achega
eead0def52

+ 0 - 0
cfc-frontend/components/login-sheet.vue


+ 0 - 6
cfc-frontend/main.js

@@ -3,18 +3,12 @@ import Vue from 'vue'
 import store from './store'
 import FamilyEmptyState from './components/FamilyEmptyState/FamilyEmptyState.vue'
 import CustomTabBar from './custom-tab-bar/index.vue'
-import LoginSheet from './components/login-sheet.vue'
-import loginSheetMixin from './mixins/login-sheet.js'
 import { formatPriceWithSymbol, formatPrice, formatRate, formatScore } from '@/utils/format'
 
 Vue.config.productionTip = false
 
 Vue.component('FamilyEmptyState', FamilyEmptyState)
 Vue.component('custom-tab-bar', CustomTabBar)
-// 全局登录浮层:任意页面模板可直接使用 <login-sheet ref="loginSheet" @success="onSheetLoginSuccess" />,
-// 并借助全局 mixin 的 this.openLoginSheet() 弹出(未挂浮层的页面自动回退整页登录)
-Vue.component('login-sheet', LoginSheet)
-Vue.mixin(loginSheetMixin)
 
 Vue.prototype.$store = store
 Vue.prototype.formatPriceWithSymbol = formatPriceWithSymbol

+ 0 - 0
cfc-frontend/mixins/login-sheet.js


+ 3 - 0
cfc-frontend/pages/login/scan-login.json

@@ -0,0 +1,3 @@
+{
+  "navigationBarTitleText": "扫码登录"
+}