backup: 紫色UI换肤前完整备份(当前橙色逍遥梦主题)
保留改造前全部页面样式与功能代码,便于回滚。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
// pages/shangjia-chongzhi/index.js
|
||||
import request from '../../utils/request';
|
||||
import { guardMerchantOwnerAction } from '../../utils/staff-api.js';
|
||||
|
||||
Page({
|
||||
data: {
|
||||
@@ -37,6 +38,10 @@ Page({
|
||||
},
|
||||
|
||||
onLoad() {
|
||||
if (!guardMerchantOwnerAction('仅商家老板可充值')) {
|
||||
setTimeout(() => wx.navigateBack(), 1200);
|
||||
return;
|
||||
}
|
||||
this.initPage();
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user