增加utf-8符号

This commit is contained in:
2025-02-20 16:45:48 +08:00
parent 36fe09527a
commit f5ad52a283

View File

@@ -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'