平台名称
This commit is contained in:
parent
2db13f909f
commit
dcabd03fd5
@ -3,7 +3,7 @@ var CONFIG = {
|
||||
login_background: '/assets/login_background.jpg',
|
||||
logo_big: '/assets/logo_big.png',
|
||||
logo_small: '/assets/logo_small.png',
|
||||
url: (window.location.hostname === 'localhost') ? 'http://127.0.0.1:8000/' : '/'
|
||||
url: (window.location.hostname === 'localhost') ? 'http://vd.dipp.ink/' : '/'
|
||||
};
|
||||
|
||||
window.CONFIG = CONFIG;
|
||||
|
@ -120,6 +120,24 @@ export default {
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
{
|
||||
title: '平台名称',
|
||||
minWidth: 120,
|
||||
render: (h, context) => {
|
||||
return h('Input', {
|
||||
props: {
|
||||
value: context.row.name,
|
||||
disabled: !this.isUpdate
|
||||
},
|
||||
on: {
|
||||
'on-change': (event) => {
|
||||
context.row.name = event.data;
|
||||
this.dataAgent[context.index]['name'] = event.data;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
@ -161,6 +179,10 @@ export default {
|
||||
return this.$Message.error('百分比填写不正确');
|
||||
}
|
||||
|
||||
if (element.name === undefined) {
|
||||
return this.$Message.error('请输入平台名称');
|
||||
}
|
||||
|
||||
agent.push(element);
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,7 @@ var CONFIG = {
|
||||
login_background: '/assets/login_background.jpg',
|
||||
logo_big: '/assets/logo_big.png',
|
||||
logo_small: '/assets/logo_small.png',
|
||||
url: (window.location.hostname === 'localhost') ? 'http://127.0.0.1:8000/' : '/'
|
||||
url: (window.location.hostname === 'localhost') ? 'http://vd.dipp.ink/' : '/'
|
||||
};
|
||||
|
||||
window.CONFIG = CONFIG;
|
||||
|
1
public/js/app.a01c92fc.js
Normal file
1
public/js/app.a01c92fc.js
Normal file
File diff suppressed because one or more lines are too long
8
public/js/chunk-651598b5.14122048.js
Normal file
8
public/js/chunk-651598b5.14122048.js
Normal file
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=\favicon.ico><script src=\config.js></script><title></title><link href=/css/chunk-4f69bb43.6166dab5.css rel=prefetch><link href=/css/chunk-651598b5.c6538c67.css rel=prefetch><link href=/js/chunk-29ecfeab.2fbfdf81.js rel=prefetch><link href=/js/chunk-4f69bb43.d3443aef.js rel=prefetch><link href=/js/chunk-651598b5.c02ae73d.js rel=prefetch><link href=/js/chunk-6c007037.1f00a06a.js rel=prefetch><link href=/css/app.42353d5a.css rel=preload as=style><link href=/css/chunk-vendors.a38c182d.css rel=preload as=style><link href=/js/app.0af6648d.js rel=preload as=script><link href=/js/chunk-vendors.a5156fe1.js rel=preload as=script><link href=/css/chunk-vendors.a38c182d.css rel=stylesheet><link href=/css/app.42353d5a.css rel=stylesheet></head><body><noscript><strong>很抱歉,如果没有启用JavaScript,程序不能正常工作,若要继续使用请启用它。</strong></noscript><div id=app></div><script src=/js/chunk-vendors.a5156fe1.js></script><script src=/js/app.0af6648d.js></script></body></html>
|
||||
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=\favicon.ico><script src=\config.js></script><title></title><link href=/css/chunk-4f69bb43.6166dab5.css rel=prefetch><link href=/css/chunk-651598b5.c6538c67.css rel=prefetch><link href=/js/chunk-29ecfeab.2fbfdf81.js rel=prefetch><link href=/js/chunk-4f69bb43.d3443aef.js rel=prefetch><link href=/js/chunk-651598b5.14122048.js rel=prefetch><link href=/js/chunk-6c007037.1f00a06a.js rel=prefetch><link href=/css/app.42353d5a.css rel=preload as=style><link href=/css/chunk-vendors.a38c182d.css rel=preload as=style><link href=/js/app.a01c92fc.js rel=preload as=script><link href=/js/chunk-vendors.a5156fe1.js rel=preload as=script><link href=/css/chunk-vendors.a38c182d.css rel=stylesheet><link href=/css/app.42353d5a.css rel=stylesheet></head><body><noscript><strong>很抱歉,如果没有启用JavaScript,程序不能正常工作,若要继续使用请启用它。</strong></noscript><div id=app></div><script src=/js/chunk-vendors.a5156fe1.js></script><script src=/js/app.a01c92fc.js></script></body></html>
|
Loading…
x
Reference in New Issue
Block a user