fix(项目设置): 修复环境变量切换类型,值没有发生改变的缺陷

--bug=1018550 --user=王孝刚 【项目设置】环境配置-通用设置修改常量/列表类型为随机数/计数器类型,值没有发生改变
https://www.tapd.cn/55049933/s/1296987
This commit is contained in:
wxg0103 2022-11-16 18:02:49 +08:00 committed by wxg0103
parent 90ee92770b
commit 80c1217fb9
1 changed files with 1 additions and 0 deletions

View File

@ -202,6 +202,7 @@ export default {
}, },
changeType(data) { changeType(data) {
data.value = '';
if (!data.delimiter || (!data.files && data.files.length === 0) || !data.quotedData) { if (!data.delimiter || (!data.files && data.files.length === 0) || !data.quotedData) {
data.delimiter = ','; data.delimiter = ',';
data.files = []; data.files = [];