针对上架做产品库登录调整
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
<ai-empty v-else>请选择应用</ai-empty>
|
<ai-empty v-else>请选择应用</ai-empty>
|
||||||
</el-row>
|
</el-row>
|
||||||
<div v-if="dialog" class="sign-box">
|
<div v-if="dialog" class="sign-box">
|
||||||
<ai-sign style="margin: auto" :instance="$axios" :action="{login:'/auth/oauth/token?corpId=ww596787bb70f08288'}"
|
<ai-sign style="margin: auto" :instance="$axios" :action="{login}"
|
||||||
visible @login="getToken" :showScanLogin="false"/>
|
visible @login="getToken" :showScanLogin="false"/>
|
||||||
</div>
|
</div>
|
||||||
<el-button type="info" v-if="!showTools" class="fixedBtn" @click="showTools=true">显示工具栏</el-button>
|
<el-button type="info" v-if="!showTools" class="fixedBtn" @click="showTools=true">显示工具栏</el-button>
|
||||||
@@ -45,6 +45,11 @@ export default {
|
|||||||
},
|
},
|
||||||
selectedApp() {
|
selectedApp() {
|
||||||
return this.$route.matched.length > 0
|
return this.$route.matched.length > 0
|
||||||
|
},
|
||||||
|
login() {
|
||||||
|
let url = '/auth/oauth/token';
|
||||||
|
/project\/sass/g.test(location.pathname) && (url += "?corpId=ww596787bb70f08288")
|
||||||
|
return url
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
Reference in New Issue
Block a user