Files
JayuCloud/JC-Salon-WeChat/pages/about/index.js
T

14 lines
273 B
JavaScript

const { BRAND_CONFIG } = require('../../utils/config')
Page({
data: {
appName: BRAND_CONFIG.appName
},
goLegal(event) {
const type = event.currentTarget.dataset.type
if (!type) return
wx.navigateTo({ url: `/pages/legal/index?type=${type}` })
}
})