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.
15 lines
240 B
15 lines
240 B
/**
|
|
* 自定义公共函数
|
|
*/
|
|
var myfn = {};
|
|
/**
|
|
* 测试函数test1
|
|
* vk.myfn.test1();
|
|
*/
|
|
myfn.test1 = function(obj = {}) {
|
|
let vk = uni.vk;
|
|
console.log("执行了自定义公共函数test1");
|
|
return obj;
|
|
};
|
|
|
|
export default myfn;
|