Browse Source

新增团练宝引导

1
mo 3 years ago
parent
commit
a50fe952c0
2 changed files with 5 additions and 2 deletions
  1. 3 0
      src/views/studentManager/modals/createMember.vue
  2. 2 2
      vue.config.js

+ 3 - 0
src/views/studentManager/modals/createMember.vue

@@ -157,6 +157,9 @@ export default {
         const rankInfo = await getmemberRankOrganizationFeeMapper({ page: 1, rows: 10, organId: this.organId })
         // console.log(rankInfo)
         const { rows } = rankInfo.data
+        if(!rows[0]?.memberFeeSetting){
+           this.$bus.$emit("showguide", ['memberList']);
+        }
         this.memberFeeSetting = rows[0]?.memberFeeSetting
       } catch(e) {
 

+ 2 - 2
vue.config.js

@@ -19,8 +19,8 @@ const name = defaultSettings.title || '管乐迷后台管理系统' // page titl
 // let target = 'http://192.168.3.251:8000' // 何国威
 // let target = 'http://192.168.3.250:8000' //邹璇
 // let target = 'http://192.168.3.119:8000' //勇哥
-let target = 'http://dev.dayaedu.com' // 开发环境
-// let target = 'https://test.dayaedu.com' //测试环境
+// let target = 'http://dev.dayaedu.com' // 开发环境
+let target = 'https://test.dayaedu.com' //测试环境
 // All configuration item explanations can be find in https://cli.vuejs.org/config/
 module.exports = {
   /**