Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
@@ -623,6 +623,11 @@ export default class extends Vue {
}
canged () {
+ // 未登录跳转登录
+ if (!this.loginInfo) {
+ window.location.href = '/jyapp/free/login?to=back'
+ return
+ }
if (this.collectd === 0) {
this.getAdd({ docId: this.docIds }).then((res: any) => {
if (res.error_code === 0) {