|
@@ -114,7 +114,8 @@ export default {
|
|
|
this.templateNodeId = options.templateNodeId;
|
|
|
this.projectId = Number(options.projectId);
|
|
|
this.id = options.excel_id;
|
|
|
- if (!uni.getStorageSync("token")) {
|
|
|
+ // 如果链接带着token, 则强制替换最新的token
|
|
|
+ if (options["JWT-TOKEN"]) {
|
|
|
uni.setStorageSync("token", options["JWT-TOKEN"]);
|
|
|
}
|
|
|
this.options = options;
|