| 1234567891011121314151617181920212223242526 |
- // pages/legal/submitLegal/submitLegal.js
- import router from "../../../utils/router";
- Page({
- data: {
- visable: false,
- },
- goTo(e) {
- console.log(e);
- router(e.currentTarget.dataset.path);
- },
- submit() {
- wx.showModal({
- title: "提示",
- content: "确认提交?",
- complete: (res) => {
- if (res.confirm) {
- this.setData({
- visable: true,
- });
- }
- },
- });
- },
- onLoad(options) {},
- });
|