mo преди 3 години
родител
ревизия
d665c41e5a
променени са 1 файла, в които са добавени 5 реда и са изтрити 2 реда
  1. 5 2
      src/views/agentManager/agentList.vue

+ 5 - 2
src/views/agentManager/agentList.vue

@@ -150,7 +150,7 @@
     <qr-code
       v-model="codeStatus"
       :isDown="true"
-      title="入驻二维码"
+      :title="title"
       :codeUrl="qrCodeUrl"
     />
   </div>
@@ -191,6 +191,7 @@ export default {
       },
       codeStatus: false,
       qrCodeUrl: null,
+      title:'入驻二维码'
     };
   },
   //生命周期 - 创建完成(可以访问当前this实例)
@@ -240,17 +241,19 @@ export default {
       this.$refs.eidthStaffRef.openDialog(row);
     },
     onJoinQrCode(row) {
-      console.log(row);
       this.qrCodeUrl =
         vaildStudentUrl() +
         "/project/questionAsk/index.html?recommender=" +
         row.userId;
+         this.title='入驻二维码'
       this.codeStatus = true;
+
     },
     lookH5(){
       this.qrCodeUrl =
         vaildTeachingUrl() +
         "/#/saas-home";
+         this.title='代理商H5'
       this.codeStatus = true;
     },
     async freezeProxy(row) {