Skip to content

Commit

Permalink
fix: 1.make.md冲突,不能使用ctrl+o打开文件 2.export interface
Browse files Browse the repository at this point in the history
  • Loading branch information
JuckZ committed May 16, 2023
1 parent 703c98c commit 13c649c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/weather.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ interface WeatherDailyResponse {
/**
* 状态码及其含义请参考API文档
*/
interface WeatherResponse {
export interface WeatherResponse {
code: string; // API状态码
updateTime: string; // 最近更新时间
fxLink: string; // 当前数据的响应式页面,方便嵌入网站或应用
Expand Down
4 changes: 3 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,9 @@ export default class AwesomeBrainManagerPlugin extends Plugin {
getRoot(old) {
return function () {
const top = old.call(this);
return top.getRoot === this.getRoot ? top : top.getRoot();
top.getRoot === this.getRoot ? top : top.getRoot();
// bugfix make.md冲突,不能使用ctrl+o打开文件 #bug
return top;
};
},
onResize(old) {
Expand Down

0 comments on commit 13c649c

Please sign in to comment.