增加utf-8符号
This commit is contained in:
@@ -13,8 +13,9 @@ import 'babel-polyfill';
|
|||||||
import api from './api/index.js';
|
import api from './api/index.js';
|
||||||
import Common from './components/common/common'
|
import Common from './components/common/common'
|
||||||
Vue.prototype.$validateString = function (str) {
|
Vue.prototype.$validateString = function (str) {
|
||||||
return /^[a-zA-Z\s-]+$/.test(str);
|
return /^[a-zA-Z\s\u00C0-\u00FF\u0100-\u017F-]+$/.test(str);
|
||||||
}
|
}
|
||||||
|
|
||||||
import VXETable from 'vxe-table'
|
import VXETable from 'vxe-table'
|
||||||
import 'vxe-table/lib/style.css'
|
import 'vxe-table/lib/style.css'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user