You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.3 KiB
42 lines
1.3 KiB
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const common_assets = require("../../common/assets.js");
|
|
const _sfc_main = {
|
|
data() {
|
|
return {
|
|
name: "",
|
|
studentId: "",
|
|
className: "",
|
|
age: "",
|
|
major: ""
|
|
};
|
|
},
|
|
methods: {
|
|
saveInfo() {
|
|
common_vendor.index.showToast({
|
|
title: "信息已保存",
|
|
icon: "success"
|
|
});
|
|
}
|
|
}
|
|
};
|
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
return {
|
|
a: common_assets._imports_0$1,
|
|
b: common_assets._imports_1$1,
|
|
c: $data.name,
|
|
d: common_vendor.o(($event) => $data.name = $event.detail.value),
|
|
e: $data.studentId,
|
|
f: common_vendor.o(($event) => $data.studentId = $event.detail.value),
|
|
g: $data.className,
|
|
h: common_vendor.o(($event) => $data.className = $event.detail.value),
|
|
i: $data.age,
|
|
j: common_vendor.o(($event) => $data.age = $event.detail.value),
|
|
k: $data.major,
|
|
l: common_vendor.o(($event) => $data.major = $event.detail.value),
|
|
m: common_vendor.o((...args) => $options.saveInfo && $options.saveInfo(...args))
|
|
};
|
|
}
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-17c83bce"]]);
|
|
wx.createPage(MiniProgramPage);
|