/*!
* Message.js v3.2.2
*
*/!function(n){var t={};function e(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}
e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined&qu……
<script>
let originShadow = Element.prototype.attachShadow;
Element.prototype.attachShadow = function (...args) {
const shadowRoot = originShadow.call(this,&nb……
Access to XMLHttpRequest at 'http://192.168.188.63:5005/api/getMenuListByRoleId' from origin 'http://192.168.188.63:3002' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
拷贝老的Vue项目框架,搭建新的项目报错。没有去登录页面直接访问服务端API,获取权限。
去清除登录缓存即可!!!
public bool IsHasGroupRight(int id,int curid)
{
MySqlParameter[] paras = new MySqlParameter[] {
……
ERROR 1418: This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators&n……


……

post({
url: ExportGroup,
data: () => {
&n……
CREATE FUNCTION `getGroupCID`(pid varchar(5000)) RETURNS VARCHAR(5000)
DETERMINISTIC
BEGIN
DECLARE children VARCHAR(5000);
SELECT group_concat(id) INTO children FROM group_info WHERE FIND_IN_SET(group_info.pid, pid);
IF children ……
DELIMITER $$
CREATE FUNCTION `getParent`(n INT) RETURNS VARCHAR(255)
BEGIN
DECLARE parent VARCHAR(2555);
SELECT parent_id INTO parent FROM your_table WHERE id = n;
IF parent IS NOT NULL THEN
……