twt 1 year ago
parent
commit
e924d6a06a
2 changed files with 5 additions and 1 deletions
  1. 1 1
      src/main.js
  2. 4 0
      src/views/home/index.vue

+ 1 - 1
src/main.js

@@ -11,7 +11,7 @@ import GL_Components from '@/components/globalComponents'
 
 import common from '@/utils/common.js'
 Vue.prototype.$common =common
-//http://112.124.69.194:8092/  app-link
+//http://112.124.69.194:8092/  app-link/dist
 Vue.use(GL_Components)
 
 Vue.config.productionTip = false

+ 4 - 0
src/views/home/index.vue

@@ -134,6 +134,10 @@ export default {
     donext(){
       //console.log(this.$common.getHashQuery('shopType'))
       var shopType=this.$common.getHashQuery('shopType')
+      console.log(shopType)
+      if(!shopType){
+        shopType=1
+      }
       this.$refs.form.validate().then(() => {
          if(!this.businessLicense){
            this.$toast.fail('请上传营业执照')