apply.js
1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
"use strict";
const common_vendor = require("../../../common/vendor.js");
require("../../../ty/api/index.js");
require("../../../store/index.js");
require("../../../ty/helper/index.js");
require("../../../ty/api/user.js");
require("../../../ty/request/index.js");
require("../../../ty/config/index.js");
require("../../../store/user.js");
require("../../../store/wxInfo.js");
require("../../../ty/helper/test.js");
require("../../../ty/helper/digit.js");
if (!Array) {
const _easycom_uni_data_select2 = common_vendor.resolveComponent("uni-data-select");
const _component_uni_section = common_vendor.resolveComponent("uni-section");
(_easycom_uni_data_select2 + _component_uni_section)();
}
const _easycom_uni_data_select = () => "../../../uni_modules/uni-data-select/components/uni-data-select/uni-data-select.js";
if (!Math) {
_easycom_uni_data_select();
}
const _sfc_main = {
__name: "apply",
setup(__props) {
let value = common_vendor.ref(0);
let range = common_vendor.reactive([
{
value: 0,
text: "请选择"
},
{
value: 1,
text: "2"
},
{
value: 2,
text: "1"
}
]);
let change = (e) => {
console.log("e", e);
};
return (_ctx, _cache) => {
return {
a: common_vendor.o(common_vendor.unref(change)),
b: common_vendor.o(($event) => common_vendor.isRef(value) ? value.value = $event : value = $event),
c: common_vendor.p({
localdata: common_vendor.unref(range),
["custom-class"]: "ipt",
label: "应用选择",
modelValue: common_vendor.unref(value)
}),
d: common_vendor.p({
title: "",
type: "line"
})
};
};
}
};
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "D:/xiangmu/kajuan/pages/me/apply/apply.vue"]]);
wx.createPage(MiniProgramPage);