VUE定义类
摘要:1、需求 将功能封装到类中,方便整理和调用 2、代码如下 export default class ContourLineWater{ // 定义一个构造函数 constructor(uname){ this.uname = uname } //定义方法 showName(){ console.lo
阅读全文
posted @ 2024-06-06 11:51
posted @ 2024-06-06 11:51