从服务端归档恢复项目源码(服务端 upload-pack 异常,无法 clone)

This commit is contained in:
CodeBuddy
2026-10-26 16:35:28 +08:00
commit 875976a120
318 changed files with 42625 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
const { getLayout } = require('../../utils/layout');
Component({
properties: { title: String, back: Boolean },
data: { statusBarHeight: 20, barHeight: 44, navSide: 100 },
lifetimes: { attached: function() { this.setData(getLayout()); } },
pageLifetimes: { resize: function() { this.setData(getLayout()); } },
methods: { goBack: function() {
this.triggerEvent('back');
if (getCurrentPages().length > 1) wx.navigateBack();
else wx.switchTab({ url: '/pages/index/index' });
} }
});