修改:协议和配置表
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
/**
|
||||
* 环境数据
|
||||
*/
|
||||
import { BaseData } from "./BaseData";
|
||||
|
||||
export class EnvData extends BaseData {
|
||||
// cdn地址
|
||||
private _cdn: string = '';
|
||||
|
||||
public reset(): void {
|
||||
this._cdn = '';
|
||||
}
|
||||
|
||||
public clear(): void {
|
||||
this._cdn = '';
|
||||
}
|
||||
|
||||
public destroy(): void {
|
||||
super.destroy();
|
||||
this._cdn = null;
|
||||
}
|
||||
|
||||
/** 设置cdn地址 */
|
||||
public set cdn(value: string) {
|
||||
this._cdn = value;
|
||||
}
|
||||
|
||||
/** 获取cdn地址 */
|
||||
public get cdn(): string {
|
||||
return this._cdn;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user