feat:绘制图形
This commit is contained in:
@@ -26,12 +26,12 @@ Page({
|
||||
wx.getStorageSync('hasShowIntroduction') || false;
|
||||
|
||||
// 判断是否在PC端开发工具上运行
|
||||
// const systemInfo = wx.getDeviceInfo();
|
||||
// if (systemInfo.platform === 'devtools') {
|
||||
// this.setData({
|
||||
// isPCDevtool: true,
|
||||
// });
|
||||
// }
|
||||
const systemInfo = wx.getDeviceInfo();
|
||||
if (systemInfo.platform === 'devtools') {
|
||||
this.setData({
|
||||
isPCDevtool: true,
|
||||
});
|
||||
}
|
||||
|
||||
if (!hasShowIntroduction) {
|
||||
this.setData({
|
||||
|
||||
Reference in New Issue
Block a user